geelen / jspm-loader-css

50 stars 27 forks source link

Document a way to produce a bundle CSS output #6

Open geelen opened 9 years ago

geelen commented 9 years ago

From https://github.com/geelen/plugin-postcss/issues/5

So I figured out how to do this in my own blog, but it's suuuuper hacky (cause I did at 3am as the "I am gonna crack this before I go to sleep): https://github.com/geelen/glenmaddern.com/blob/master/snapshot.js#L36

I need to figure out a nicer API and show examples. Cause it's possible and cooooool!

jgrenat commented 9 years ago

Hi @geelen ,

Is it planned to add support for separateCSS and bundleCSS options from the main css plugin?

m4r71n commented 9 years ago

I'm not sure but I think separateCSS will also be needed to enable CSP without allowing unsafe-inline, isn't it? Btw.: Thx for your awesome work @guybedford and @geelen!

geelen commented 9 years ago

Yeah cool, wiring this in via the options separateCSS and bundleCSS seem like the smart thing to do.

fd commented 9 years ago

@geelen any progress on this?

geelen commented 9 years ago

No progress yet. Hoping to be able to jump back on to JSPM stuff in the next week & a bit.

MeoMix commented 9 years ago

Any luck with this yet? I'd like to be able to bundle!

oligot commented 8 years ago

Just to let you know that I've created a pull request for this issue: #49