Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/cssandstuff/hugo-theme-winning.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'postcss.config.js')
-rw-r--r--postcss.config.js21
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