File tree Expand file tree Collapse file tree 3 files changed +309
-578
lines changed Expand file tree Collapse file tree 3 files changed +309
-578
lines changed Original file line number Diff line number Diff line change @@ -18,9 +18,7 @@ const applyOptionsCallback = require('../utils/apply-options-callback');
18
18
* @return {object }
19
19
*/
20
20
module . exports = function ( webpackConfig ) {
21
- const minimizerPluginOptions = {
22
- sourceMap : webpackConfig . useSourceMaps
23
- } ;
21
+ const minimizerPluginOptions = { } ;
24
22
25
23
return new CssMinimizerPlugin (
26
24
applyOptionsCallback ( webpackConfig . cssMinimizerPluginOptionsCallback , minimizerPluginOptions )
Original file line number Diff line number Diff line change 33
33
"chalk" : " ^4.0.0" ,
34
34
"clean-webpack-plugin" : " ^3.0.0" ,
35
35
"css-loader" : " ^5.0.1" ,
36
- "css-minimizer-webpack-plugin" : " ^1.1.5 " ,
36
+ "css-minimizer-webpack-plugin" : " ^2.0.0 " ,
37
37
"fast-levenshtein" : " ^3.0.0" ,
38
38
"friendly-errors-webpack-plugin" : " ^2.0.0-beta.1" ,
39
39
"loader-utils" : " ^2.0.0" ,
You can’t perform that action at this time.
0 commit comments