Closed crisfcodes closed 7 years ago
Hi, i have a question. How can I use the plugion assets in npm script?, and how can I set its options?
Something like this?
"scripts": { "assets": "postcss -u postcss-assets --relative ./public --base-path ./public --load-path ['/fonts'] -r ./public/css/style.css" }
@cristian05 you have to create a postcss.config.js file: https://github.com/postcss/postcss-cli#config
Hi, i have a question. How can I use the plugion assets in npm script?, and how can I set its options?
Something like this?
"scripts": { "assets": "postcss -u postcss-assets --relative ./public --base-path ./public --load-path ['/fonts'] -r ./public/css/style.css" }