Respect autoprefixer browsers when stripping vendor prefixes with cssnano
This commit is contained in:
@@ -11,7 +11,10 @@ module.exports = {
|
|||||||
plugins: [
|
plugins: [
|
||||||
new OptimizeCssAssetsPlugin({
|
new OptimizeCssAssetsPlugin({
|
||||||
cssProcessor: cssnano,
|
cssProcessor: cssnano,
|
||||||
cssProcessorOptions: { discardComments: { removeAll: true } },
|
cssProcessorOptions: {
|
||||||
|
discardComments: { removeAll: true },
|
||||||
|
autoprefixer: { browsers: config.browsers },
|
||||||
|
},
|
||||||
canPrint: true,
|
canPrint: true,
|
||||||
}),
|
}),
|
||||||
new ImageminPlugin({
|
new ImageminPlugin({
|
||||||
|
|||||||
Reference in New Issue
Block a user