This repository was archived by the owner on Mar 25, 2023. It is now read-only.
Commit 03eac2e
committed
Fix bug where link was not working when target page imported CSS (?!?)
- Links on index page were mysteriously not working
- Tracked problem to the fact that target page was importing CSS
- Solution: move CSS to global import (I think this is required as of 9.3 anyway)
- Ref: vercel/next.js#5598
- Note: may cause problems linking to sphinx files (?) which still import CSS,
but appears to work fine in docs??? what??
Makes very little sense why this fixes it, and still a bit inconsistent. Luckily
the problem seems to be related only to the dev server + HMR (??)
Check how the built version works in CI...1 parent 1323c08 commit 03eac2e
2 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | 1 | | |
5 | 2 | | |
6 | 3 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
1 | 4 | | |
2 | 5 | | |
3 | 6 | | |
| |||
0 commit comments