Rename Vite 8 rollupOptions to rolldownOptions
ProprietaryVite 8 uses Rolldown, and renames build.rollupOptions to build.rolldownOptions and worker.rollupOptions to worker.rolldownOptions ("Migration from v7", Other Related Deprecations). Renames them in vite.config.* and vitest.config.* files; the options inside are not rewritten, see FindVite8Changes.
org. openrewrite. nodejs. migrate. vite. MigrateVite8Configmod run . --recipe= org. openrewrite. nodejs. migrate. vite. MigrateVite8ConfigInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.