You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My fix for #10148 only fixes the issue on the initial page load. Triggering a hot reload in dev for a CSS script once again loads CSS modules before global CSS.
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
Pull latest next.js and run yarn next ./test/integration/css-fixtures/global-and-module-ordering
Make any edit to CSS that causes hot reloading to trigger (e.g. add a space after color: blue; in test/integration/css-fixtures/global-and-module-ordering/pages/index.module.css
Watch the text change color from blue to red.
Expected behavior
When the page hot reloads, the CSS ordering should remain consistent
Screenshots
If applicable, add screenshots to help explain your problem.
System information
OS: n/a
Browser (if applies) n/a
Version of Next.js: latest (9.3.6-canary.0 and greater)
Version of Node.js: v10.14.0
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
* Failing test to demonstrate issue #12004
* Separate position for global vs client scripts. Fixes#12004
* Revert client.ts
* Revert global.ts
Co-authored-by: Joe Haddad <timer150@gmail.com>
Co-authored-by: Joe Haddad <joe.haddad@zeit.co>
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.
vercel
locked as resolved and limited conversation to collaborators
Jan 30, 2022
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Bug report
Describe the bug
My fix for #10148 only fixes the issue on the initial page load. Triggering a hot reload in dev for a CSS script once again loads CSS modules before global CSS.
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
yarn next ./test/integration/css-fixtures/global-and-module-ordering
color: blue;
intest/integration/css-fixtures/global-and-module-ordering/pages/index.module.css
Expected behavior
When the page hot reloads, the CSS ordering should remain consistent
Screenshots
If applicable, add screenshots to help explain your problem.
System information
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: