Open
Description
Describe the bug
Let's get it passing on the ecosystem CI
Here are some blockers for us:
- treeshaking/dead code removal in rolldown is not on the same level as rollups, leading to compatibility issues with some svelte features for serverside bundles [Feature Request]: remove non used dynamic import chunks rolldown/rolldown#3403
- empty CSS chunks are emitted for each Svelte file and they're also not in the Vite manifest, causing read errors when we try traverse CSS imports for mapping/inlining Extra empty CSS chunks when returning CSS in the
load
plugin hook vitejs/rolldown-vite#267 -
viteMetadata
is missing from the chunks in the SSR bundle output data. We use it to map the SSR stylesheets to the client ones for inlining CSS Chunks are missingviteMetadata
when building for SSR vitejs/rolldown-vite#264
Nice to haves
- figure out how to get
experimental.enableNativePlugins
working https://vite.dev/guide/rolldown#enabling-native-plugins currently it causes styles to not be applied. Likely the reason is that the generated manifest doesn't include style information and therefore not loaded. Possibly related? experimental.enableNativePlugin css missing from production build vitejs/rolldown-vite#213
Reproduction
https://github.com/vitejs/vite-ecosystem-ci/actions/runs/14633802080/job/41060843890
Logs
System Info
rolldown
Severity
blocking an upgrade
Additional Information
Some tips: https://main.vitejs.dev/guide/rolldown.html#plugin-framework-authors-guide