Skip to content

v1.7.6

Choose a tag to compare

@kieranmansfield kieranmansfield released this 04 Jun 23:34
· 82 commits to main since this release

Bug Fixes

  • Fix CSS layout shift on initial load: Added @source glob directives to core.css covering all layer and app directories. In Tailwind 4 dev mode, CSS is compiled lazily per-file, causing an HMR update mid-render when new component files are discovered — producing a visible layout shift. Eager scanning via @source ensures the initial CSS bundle is complete before first paint.
  • Fix Tailwind 4 content scanning restricted to core layer: Removed the content: array from tailwind.config.js. In Tailwind 4, a content: array loaded via @config restricts scanning to only those paths (v3 behaviour), causing utility classes from ui, layout, theme, and other layers to be absent from the CSS bundle.
  • Fix CSS code splitting causing deferred stylesheets: Added cssCodeSplit: false to playground Vite build config, merging all CSS into a single bundle so every utility is available from first paint.

Other

  • Added apps/debug — minimal Nuxt app for layer-by-layer CSS regression testing (pnpm dev:debug, runs on port 3001)