Skip to content

oj v0.2.38

Choose a tag to compare

@github-actions github-actions released this 19 Oct 08:30
· 121 commits to main since this release
9e60594

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.