Last active
April 24, 2017 04:11
-
-
Save HeikoMamerow/95abfee275493f01228f1efb606db5ba to your computer and use it in GitHub Desktop.
Example of a typical PostCSS config file (cli flavor). I use this for WordPress theme development.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"use": [ | |
"postcss-import", | |
"postcss-mixins", | |
"postcss-nested", | |
"postcss-advanced-variables", | |
"perfectionist", | |
"stylefmt", | |
"postcss-cssnext", | |
"cssnano" | |
], | |
"input": "./css-src/main-src.css", | |
"output": "./schnell/css/main.css", | |
"watch": true, | |
"map": "file", | |
"perfectionist": { | |
"cascade": false, | |
"sourcemap": true | |
}, | |
"cssnano": { | |
"discardComments": false, | |
"autoprefixer": false, | |
"core": false | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There are some more options for the task. Read the manual: https://github.com/postcss/postcss-cli