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
{{ message }}
This repository was archived by the owner on Mar 19, 2026. It is now read-only.
The Vite build manifest normally includes which CSS a file uses. However, enabling experimental.enableNativePlugin causes this to no longer appear.
SvelteKit uses these CSS keys to map the CSS files between our server and client bundles so that we can choose to inline the server CSS instead of loading the client CSS. It's important to inline the server CSS and not the client CSS because it uses the correct path format for an inline style block when referencing other files.
Describe the regression
The Vite build manifest normally includes which CSS a file uses. However, enabling
experimental.enableNativePlugincauses this to no longer appear.SvelteKit uses these CSS keys to map the CSS files between our server and client bundles so that we can choose to inline the server CSS instead of loading the client CSS. It's important to inline the server CSS and not the client CSS because it uses the correct path format for an inline style block when referencing other files.
Reproduction
https://github.com/eltigerchino/rolldown-vite-native-plugins-vite-manifest-css
Expected Behavior
I expected the
csskey to exist for entries in the Vite manifest.Actual Behavior
The
csskey is missing from the Vite manifest.Steps to Reproduce
pnpm ito install dependenciespnpm buildto generate the Vite manifestindex.htmlfile'scsskey specifies the CSS files it uses.rolldown-viteby adding the below to the ./package.jsonpnpm ito installrolldown-vitepnpm buildto generate the Vite manifestindex.htmlentry no longer has acsskey.System Info
System: OS: Linux 5.15 Ubuntu 22.04.5 LTS 22.04.5 LTS (Jammy Jellyfish) CPU: (8) x64 AMD Ryzen 7 5800H with Radeon Graphics Memory: 11.27 GB / 15.62 GB Container: Yes Shell: 5.8.1 - /usr/bin/zsh Binaries: Node: 20.19.3 - ~/.volta/tools/image/node/20.19.3/bin/node npm: 10.8.2 - ~/.volta/tools/image/node/20.19.3/bin/npm pnpm: 10.12.4 - ~/.volta/tools/image/pnpm/10.12.4/bin/pnpm bun: 1.2.15 - ~/.bun/bin/bun Browsers: Chrome: 138.0.7204.100 npmPackages: vite: ^7.0.3 => 7.0.3Used Package Manager
pnpm
Logs
No response
Validations