File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -100,9 +100,11 @@ module.exports = {
100
100
optimization: {
101
101
minimizer: [
102
102
new CssnanoPlugin ({
103
- cssnanoOptions: [' default' , {
104
- discardComments: { removeAll: true }
105
- }]
103
+ cssnanoOptions: {
104
+ preset: [' default' , {
105
+ discardComments: { removeAll: true }
106
+ }]
107
+ }
106
108
})
107
109
]
108
110
}
@@ -150,8 +152,10 @@ module.exports = {
150
152
optimization: {
151
153
minimizer: [
152
154
new CssnanoPlugin ({
153
- cssProcessorPluginOptions: {
154
- preset: [' default' , { discardComments: { removeAll: true } }]
155
+ cssnanoOptions: {
156
+ preset: [' default' , {
157
+ discardComments: { removeAll: true }
158
+ }]
155
159
}
156
160
})
157
161
]
@@ -161,4 +165,4 @@ module.exports = {
161
165
162
166
## License
163
167
164
- [ MIT] ( ./LICENSE )
168
+ [ MIT] ( ./LICENSE )
You can’t perform that action at this time.
0 commit comments