browserify-css icon indicating copy to clipboard operation
browserify-css copied to clipboard

Add factor-bundle support

Open pcfreak30 opened this issue 7 years ago • 2 comments

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

pcfreak30 avatar Sep 30 '16 23:09 pcfreak30

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.

cheton avatar Oct 04 '16 13:10 cheton

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

pcfreak30 avatar Oct 04 '16 18:10 pcfreak30