Support for CSS files
Closed this issue · 3 comments
anton-107 commented
Since Gecko bug mentioned here is reported as fixed in https://bugzilla.mozilla.org/show_bug.cgi?id=185236, i wonder if it is possible to support css dependencies in require.js out of the box?
millermedeiros commented
I think it should be implemented as a plugin and it isn't really recommended since IE also have a limit of stylesheets.
PS: check curl css plugin, not sure if it will work on RequireJS or not (never tried it).
jrburke commented
I agree with @millermedeiros - a plugin is a way to support it since it is not a JS dependency. If the curl css plugin by @unscriptable does not work with requirejs, we should spend our time to get that to work.
unscriptable commented
@samuelvogel created a css! plugin for requirejs: https://github.com/VIISON/RequireCSS