diff options
Diffstat (limited to 'postcss.config.js')
-rw-r--r-- | postcss.config.js | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/postcss.config.js b/postcss.config.js new file mode 100644 index 0000000..09fbbf2 --- /dev/null +++ b/postcss.config.js @@ -0,0 +1,21 @@ +'use strict'; +module.exports = (ctx) => { + return ({ + parser: ctx.file.extname === '.sss' ? 'sugarss' : false, + plugins: { + cssnano: { + discardComments: { + removeAll: true + }, + filterPlugins: false, + discardDuplicates: true, + discardOverridden: true, + minifySelectors: true, + mergeRules: true, + core: true, + reduceIdents: false, + svgo: false + } + } + }); +};
\ No newline at end of file |