Run autoprefixer before minification

This commit is contained in:
Nathan Knowler
2018-06-09 09:49:34 -06:00
parent f4d834214a
commit 33c81a9c72

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,
},
};
};