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
Copy file name to clipboardExpand all lines: README.md
+13-38
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@
16
16
17
17
This plugin uses [cssnano](https://cssnano.co) to optimize and minify your CSS.
18
18
19
-
Just like [optimize-css-assets-webpack-plugin](https://github.com/NMFR/optimize-css-assets-webpack-plugin) but more accurate with source maps and assets using query string, allows to cache and works in parallel mode.
19
+
Just like [optimize-css-assets-webpack-plugin](https://github.com/NMFR/optimize-css-assets-webpack-plugin) but more accurate with source maps and assets using query string, allows caching and works in parallel mode.
20
20
21
21
## Getting Started
22
22
@@ -169,8 +169,8 @@ Default: `true`
169
169
Use multi-process parallel running to improve the build speed.
170
170
Default number of concurrent runs: `os.cpus().length - 1`.
171
171
172
-
> ℹ️ Parallelization can speedup your build significantly and is therefore **highly recommended**.
173
-
> If a parallelization is enabled, the packages in `minimizerOptions` must be required via strings (`packageName` or `require.resolve(packageName)`). Read more in [`minimizerOptions`](#minimizerOptions)
172
+
> ℹ️ Parallelization can speed up your build significantly and is therefore **highly recommended**.
173
+
> If a parallelization is enabled, the packages in `minimizerOptions` must be required via strings (`packageName` or `require.resolve(packageName)`). Read more in [`minimizerOptions`](#minimizeroptions)
174
174
175
175
#### `Boolean`
176
176
@@ -215,15 +215,16 @@ module.exports = {
215
215
Type: `Function|Array<Function>`
216
216
Default: `CssMinimizerPlugin.cssnanoMinify`
217
217
218
-
Allows to override default minify function.
219
-
By default plugin uses [cssnano](https://github.com/cssnano/cssnano) package.
218
+
Allows overriding default minify function.
219
+
By default, plugin uses [cssnano](https://github.com/cssnano/cssnano) package.
220
220
Useful for using and testing unpublished versions or forks.
0 commit comments