npm init -y
npm install -D postcss postcss-cli autoprefixer cssnano cssnano-preset-advanced
module.exports = {
plugins: {
autoprefixer: {},
cssnano: {
preset: "advanced",
},
},
};
"build": "postcss ./src/style.pcss -o ./public/style.css -w"
Install PostCSS Intelligence and Highlighting - vs code Extension
"postcss.validate": false,
"emmet.includeLanguages": {
"postcss": "css",
}