Fiddle: update to latest vite + remove react webpack stuff#120
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
This PR upgrades the Vite-based build tooling to Vite 8 / Rolldown, updating the custom Vite config/build scripts accordingly and refreshing the Node/tooling baseline to match the new ecosystem requirements.
Changes:
- Upgrade core tooling: Vite
^8.0.0, Rolldown^1.0.0-rc.9, and Node engine requirement. - Migrate build configuration from
rollupOptions/optimizeDeps.esbuildOptionstorolldownOptionsacross Vite app build scripts. - Simplify Rolldown module bundling by removing
rollup-plugin-esbuildand enabling Rolldown’s built-in minification.
Reviewed changes
Copilot reviewed 6 out of 7 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| scripts/react-app-vite/app.config.js | Switch dep-optimizer/build options to rolldownOptions and keep shim aliasing workaround in place. |
| scripts/react-app-static-vite/build.js | Update SSR build config to use build.rolldownOptions. |
| scripts/react-app-ssr-vite/build.js | Update SSR build config to use build.rolldownOptions. |
| scripts/module-rolldown/module.config.js | Remove esbuild-based minifier plugin; rely on Rolldown minify flag. |
| package.json | Bump Node engine + upgrade Vite/plugin/Rolldown deps; remove Rollup/esbuild plugin deps. |
| package-lock.json | Lockfile refresh for the Vite 8 / Rolldown dependency graph. |
| Dockerfile | Update build stage base image to Node 24.13.0. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| ], | ||
| "engines": { | ||
| "node": ">=18" | ||
| "node": ">=20.19" |
| "typescript-eslint": "^8.54.0", | ||
| "vite": "^7.3.1", | ||
| "vite": "^8.0.0", | ||
| "vite-plugin-node-polyfills": "^0.25.0", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Checklist: