From 487a00822d7f19691e1fc50fca7a063cd99d7aa4 Mon Sep 17 00:00:00 2001 From: Eric Ogden Date: Mon, 4 Feb 2019 15:21:27 -0800 Subject: [PATCH] small formatting improvements to README.md --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 092e2b0..004ebcb 100644 --- a/README.md +++ b/README.md @@ -22,11 +22,11 @@ $ npm install --save-dev optimize-css-assets-webpack-plugin ## Configuration: The plugin can receive the following options (all of them are optional): -* 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` -* 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). -* cssProcessorOptions: The options passed to the cssProcessor, defaults to `{}` -* cssProcessorPluginOptions: The plugin options passed to the cssProcessor, defaults to `{}` -* canPrint: A boolean indicating if the plugin can print messages to the console, defaults to `true` +* `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` +* `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). +* `cssProcessorOptions`: The options passed to the `cssProcessor`, defaults to `{}` +* `cssProcessorPluginOptions`: The plugin options passed to the `cssProcessor`, defaults to `{}` +* `canPrint`: A boolean indicating if the plugin can print messages to the console, defaults to `true` ## Example: