You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The plugin can receive the following options (all of them are optional):
25
-
* assetNameRegExp: A regular expression that indicates the names of the assets that should be optimized \ minimized. The regular expression provided is run against the filenames of the files exported by the ExtractTextPlugin instances in your configuration, not the filenames of your source CSS files. Defaults to `/\.css$/g`
26
-
* cssProcessor: The CSS processor used to optimize \ minimize the CSS, defaults to [cssnano](http://github.com/ben-eb/cssnano). This should be a function that follows cssnano.process interface (receives a CSS and options parameters and returns a Promise).
27
-
* cssProcessorOptions: The options passed to the cssProcessor, defaults to `{}`
28
-
* cssProcessorPluginOptions: The plugin options passed to the cssProcessor, defaults to `{}`
29
-
* canPrint: A boolean indicating if the plugin can print messages to the console, defaults to `true`
25
+
*`assetNameRegExp`: A regular expression that indicates the names of the assets that should be optimized \ minimized. The regular expression provided is run against the filenames of the files exported by the `ExtractTextPlugin` instances in your configuration, not the filenames of your source CSS files. Defaults to `/\.css$/g`
26
+
*`cssProcessor`: The CSS processor used to optimize \ minimize the CSS, defaults to [`cssnano`](http://github.com/ben-eb/cssnano). This should be a function that follows `cssnano.process` interface (receives a CSS and options parameters and returns a Promise).
27
+
*`cssProcessorOptions`: The options passed to the `cssProcessor`, defaults to `{}`
28
+
*`cssProcessorPluginOptions`: The plugin options passed to the `cssProcessor`, defaults to `{}`
29
+
*`canPrint`: A boolean indicating if the plugin can print messages to the console, defaults to `true`
0 commit comments