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
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fixed
With build.cssCodeSplit, a page's stylesheets are linked in Vite's chunk graph order, a chunk's imported chunks' CSS before its own, instead of rolldown's output order. A page whose entry and a shared chunk both carried CSS linked its own sheet first, so a rule that tied on specificity with one in the shared sheet (a CSS module class on a UI library element) lost under oj and won under Vite. A lazy chunk's preloaded CSS follows the same order, as Vite's __vitePreload deps do.