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

--autoInject=false dont work in command line #51

Closed liorwohl closed 7 years ago

liorwohl commented 7 years ago

its still injecting the css to the head of document

cheton commented 7 years ago

The value of the autoInject option is a string 'false' when passing from command line. It's necessary to convert a string to boolean for comparison. I will fix it soon.

cheton commented 7 years ago

You can use --autoInject=0 as a workaround before it's fixed.

cheton commented 7 years ago

Fixed in v0.10.1

liorwohl commented 7 years ago

thanks :)