helpers/postcss_plugin
Source: postcss_plugin.js:3
Static Methods
plugin(name: string, func: function | Object): function
static
postcss_plugin.js:13Generate PostCSS plugin.
This is a glue code generator to migrate existed plugins to support PostCSS 8.
Parameters
name(string) — Plugin name.func(function | Object) — Function with PostCSS plugin interface.
Returns
function— A PostCSS plugin.