BladeRunnerJS / brjs

BladeRunnerJS (BRJS) is an open source development toolkit and framework for modular construction of large single-page HTML5 apps. It consists of a set of conventions, supporting tools and micro-libraries that make it easy to develop, test, deploy and maintain complex JavaScript apps.
http://bladerunnerjs.org/
GNU Lesser General Public License v3.0
229 stars 36 forks source link

Allow CSS library types #767

Open janhancic opened 10 years ago

janhancic commented 10 years ago

If I have a thirdparty lib that only provides some CSS (a reset for instance). I'd like an easy way to get that CSS bundled anywhere in the app (aspect, workbench) without me having to explicitly include it somehow everywhere.

Best way to handle this is for my theme to say that it also wants this CSS from that library or something like that. I don't want to litter my app with "dummy" require calls to bring in CSS.

andy-berry-dev commented 10 years ago

Some initial thoughts (been discussing with @leggetter)

I'm in favour of @brjsLib 'some-css-lib since it 'feels' right and keeps the CSS inclusion within CSS and doesn't leak across to JS.