- Source:
Methods
(static) plugin(name, func) → {function}
Generate PostCSS plugin.
This is a glue code generator to migrate existed plugins to support PostCSS 8.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
name |
string
|
Plugin name. |
func |
function
|
Object
|
Function with PostCSS plugin interface. |
Returns:
- Type:
-
function
A PostCSS plugin.