-
Notifications
You must be signed in to change notification settings - Fork 27k
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
Inconsistent loading order of CSS in dev mode #11946
Comments
I still have problems with css order too. |
I am installed this version v9.3.6-canary.0 because has a patch to fix css, but didnt resolve to me. I dont really what it that, but i continuous having duplicates between css chunks and when not, problems with classes order/priority. |
@fabinppk, hello. |
I understand, but the v9.3.6-canary.0 brokers my css in dev mode too, not only in production. |
I also have the same issue @iksent, were you able to solve this thing ? |
@ashfaqnisar, no, I’m not. And this is a really big problem... |
This should be fixed in |
I'm installed the exact version I'm using sass, but I don't think that could be the problem. |
@bravokiloecho, probably, that's because this issue was resolved in |
@iksent but |
@bravokiloecho, yes. sorry, my mistake. |
This issue has been automatically locked due to no recent activity. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you. |
Bug report
Describe the bug
It's based on #10148 (comment). When
_app.jsx
contains component which imports postcss module the order of css chunks is inconsistent. Most likely css from module is inserted before global css.To Reproduce
I created a repo for you https://github.com/Joozty/nextjs-css. It's a fork from #10148. So the steps to reproduce are almost identical.
Expected behavior
CSS in dev mode should be imported/inserted the same way as on production, i.e. global css first and then modules.
Thanks a lot :)
The text was updated successfully, but these errors were encountered: