systemjs / plugin-css

CSS loader plugin
MIT License
92 stars 60 forks source link

set separateCSS=true, the generated css file not auto loaded when executing? #85

Closed XuJinNet closed 8 years ago

XuJinNet commented 8 years ago

Hellow, i use SystemJS Build, when set separateCSS=true, the generated css file (bundle.css) not auto loaded when executing, how to resolve this problem?

guybedford commented 8 years ago

If the bundle is loaded with the initial page load, then use a link tag. If you are loading this bundle dynamically after the page load, it may be possible to use the bundles configuration to do a separate css injection here.