diff options
Diffstat (limited to 'assets/css/postcss.config.js')
-rw-r--r-- | assets/css/postcss.config.js | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/assets/css/postcss.config.js b/assets/css/postcss.config.js index c240dd5..1d25a4d 100644 --- a/assets/css/postcss.config.js +++ b/assets/css/postcss.config.js @@ -1,6 +1,8 @@ -module.exports = conf => { +module.exports = _ => { return { plugins: [ + // required for IE + require('postcss-selector-not').default, // converts googleapis URLs to gstatic ones require('postcss-import-url')({ recursive: true, @@ -20,9 +22,9 @@ module.exports = conf => { require('postcss-unprefix')(), require('autoprefixer')(), // does not /add/ prefixes by default, hence previous step -// require('cssnano')({ -// preset: 'advanced' -// }), + require('cssnano')({ + preset: 'advanced' + }), ] }; }; |