File tree 1 file changed +11
-0
lines changed
1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -86,6 +86,17 @@ If you use your own `minify` function please read the `minify` section for handl
86
86
87
87
## Options
88
88
89
+ | Name | Type | Default | Description |
90
+ | :-----------------------------------------: | :--------------------------------------------: | :----------------------------------: | :---------------------------------------------------------------------------------------------------- |
91
+ | ** [ ` test ` ] ( #test ) ** | ` String\|RegExp\|Array<String\|RegExp> ` | ` /\.css(\?.*)?$/i ` | Test to match files against. |
92
+ | ** [ ` include ` ] ( #include ) ** | ` String\|RegExp\|Array<String\|RegExp> ` | ` undefined ` | Files to include. |
93
+ | ** [ ` exclude ` ] ( #exclude ) ** | ` String\|RegExp\|Array<String\|RegExp> ` | ` undefined ` | Files to exclude. |
94
+ | ** [ ` parallel ` ] ( #parallel ) ** | ` Boolean\|Number ` | ` true ` | Enable/disable multi-process parallel running. |
95
+ | ** [ ` minify ` ] ( #minify ) ** | ` Function\|Array<Function> ` | ` CssMinimizerPlugin.cssnanoMinify ` | Allows to override default minify function. |
96
+ | ** [ ` minimizerOptions ` ] ( #minimizeroptions ) ** | ` Object\|Array<Object> ` | ` { preset: 'default' } ` | Cssnano optimisations [ options] ( https://cssnano.co/docs/optimisations ) . |
97
+ | ** [ ` processorOptions ` ] ( #processoroptions ) ** | ` Object ` | ` { to: assetName, from: assetName } ` | Allows to specify option [ ` processoptions ` ] ( https://postcss.org/api/#processoptions ) for the cssnano. |
98
+ | ** [ ` warningsFilter ` ] ( #warningsfilter ) ** | ` Function<(warning, file, source) -> Boolean> ` | ` () => true ` | Allow to filter css-minimizer warnings. |
99
+
89
100
### ` test `
90
101
91
102
Type: ` String|RegExp|Array<String|RegExp> ` - default: ` /\.css(\?.*)?$/i `
You can’t perform that action at this time.
0 commit comments