Upgrade to Vite 8
What does this MR do and why?
Upgrades Vite to v8.0.0, which ships with Rolldown as the default bundler instead of Rollup.
- Replaces
rollupOptionswithrolldownOptionsand updates config options to match Rolldown's API (codeSplitting,comments.legal,output.strictExecutionOrder) - Patches
vite-plugin-rubyto strip its output config so our chunking strategy takes precedence - Replaces
esbuildwithlightningcssinclean_css_assets.mjs(lightningcss is already a Vite 8 dep) - Approves
lightningcssMPL-2.0 license (new transitive dep via Vite 8)
Things that are not fixed with upgrade
- Production build still produces result incompatible with production requirements
Edited by Stanislav Lashmanov