Open konsumer opened 8 years ago
@konsumer You can use the latest release (v0.3.0) the same way with sassify.
Sweet. Thanks!
It would be even sweeter with an example in the readme ;)
$ npm install --save-dev browserify-postcss
$ browserify script.js -o bundle.js -t [ browserify-postcss --inject ]
"browserify": {
"transform": [
[
"browserify-postcss",
{
"plugin": [
"postcss-import",
"postcss-advanced-variables"
],
"inject": true
}
]
]
},
Although I havent tested it yet 🐹
How do I use this as a browserify transform?
I currently have a package.json that looks like this:
this works great for my current project, allowing me to require scss files, etc.