Run autoprefixer before minification

This commit is contained in:
Nathan Knowler
2018-06-09 09:49:34 -06:00
parent 2f51b51c95
commit 405aedfb13

View File

@@ -8,8 +8,8 @@ module.exports = ({ file, options }) => {
return {
parser: options.enabled.optimize ? 'postcss-safe-parser' : undefined,
plugins: {
cssnano: options.enabled.optimize ? cssnanoConfig : false,
autoprefixer: true,
cssnano: options.enabled.optimize ? cssnanoConfig : false,
},
};
};