Run autoprefixer before minification
This commit is contained in:
@@ -8,8 +8,8 @@ module.exports = ({ file, options }) => {
|
|||||||
return {
|
return {
|
||||||
parser: options.enabled.optimize ? 'postcss-safe-parser' : undefined,
|
parser: options.enabled.optimize ? 'postcss-safe-parser' : undefined,
|
||||||
plugins: {
|
plugins: {
|
||||||
cssnano: options.enabled.optimize ? cssnanoConfig : false,
|
|
||||||
autoprefixer: true,
|
autoprefixer: true,
|
||||||
|
cssnano: options.enabled.optimize ? cssnanoConfig : false,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user