Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
postcss load plugin
npm i -g postcss-cli
postcss in.css -o out.css
body {
h1 {
color: red;
}
}
{
"name": "xxx",
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
"postcss": {
"plugins": {
"postcss-nested": {}
}
},
"devDependencies": {
"postcss-nested": "^1.0.1"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment