Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSS Module Loader Order and Groups #1087

Open
solmsted opened this issue Aug 15, 2013 · 0 comments
Open

CSS Module Loader Order and Groups #1087

solmsted opened this issue Aug 15, 2013 · 0 comments
Labels

Comments

@solmsted
Copy link
Contributor

I've run into issues with loader loading CSS modules out of order. The issue is reproducible when one module is grouped and another module is not grouped. Here is an example:

http://jsbin.com/ahofis/1/edit
my-css requires other-css so I expect the <link> for other-css to appear first in the DOM, but it does not.

http://jsbin.com/ahofis/2/edit
Specifying that my-css should load after other-css does not work.

http://jsbin.com/ahofis/3/edit
http://jsbin.com/ahofis/4/edit
http://jsbin.com/ahofis/5/edit
It works correctly when both modules are ungrouped, when both modules belong to the same group, or when both modules belong to different groups.

@ghost ghost assigned ekashida Aug 15, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants