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

Add factor-bundle support #44

Open pcfreak30 opened 8 years ago

pcfreak30 commented 8 years ago

It adds the browser.js but not the css data.

cheton commented 8 years ago

Hi @pcfreak30,

You can simply use var browserifyCSS = require('browserify-css'); if you want to require only the browser.js.

If you want to output CSS to a another file instead of embedding it into a JS bundle, you can check out the onFlush option at https://github.com/cheton/browserify-css#onflush.

pcfreak30 commented 8 years ago

I found a hack to get it working but I wanted it embedded in the common bundle via factor.