blob: 535e926937ec58f9ed037552783cef915b7be30c [file] [log] [blame]
// postcss config used in all production webpack.common.js configs.
module.exports = {
plugins: [
require('autoprefixer')(),
require('cssnano')({
// Since cssnano ToT is at >4, the docs on the website are incorrect
// as to what is and is not on by default. Further, the names
// appear to have changed slightly. Until pulito is upgraded to
// use cssnano 4.0, the best place to look for the real names is
// https://github.com/cssnano/cssnano/blob/v3.10.0/metadata.toml
'postcss-reduce-idents': false,
'postcss-discard-overridden': false,
'postcss-discard-unused': false,
}),
]
}