cheton / browserify-css

A Browserify transform for bundling, rebasing, inlining, and minifying CSS files.
http://cheton.github.io/browserify-css/
MIT License
144 stars 22 forks source link

What is the benefit of autoInject=false #58

Closed peterbarraud closed 6 years ago

peterbarraud commented 6 years ago

I want to output the css to a separate file but not using onFlush option. Meaning I want to do this using the command line something like:

[ browserify-css --autoInject=false -o bundle.css ]

Is this possible?

cheton commented 6 years ago

Added in v0.13.0 https://github.com/cheton/browserify-css/releases/tag/v0.13.0

browserify -t [ browserify-css --minify=true --output bundle.css ] -o bundle.js app.js