Skip to content

Fiddle: update to latest vite + remove react webpack stuff#120

Merged
krishan711 merged 12 commits into
mainfrom
vite
Mar 13, 2026
Merged

Fiddle: update to latest vite + remove react webpack stuff#120
krishan711 merged 12 commits into
mainfrom
vite

Conversation

@krishan711
Copy link
Copy Markdown
Contributor

Description

Checklist:

  • I have updated the CHANGELOG with a summary of my changes

Copilot AI review requested due to automatic review settings March 13, 2026 14:53
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.esbuildOptions to rolldownOptions across Vite app build scripts.
  • Simplify Rolldown module bundling by removing rollup-plugin-esbuild and 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.

Comment thread package.json
],
"engines": {
"node": ">=18"
"node": ">=20.19"
Comment thread package.json Outdated
"typescript-eslint": "^8.54.0",
"vite": "^7.3.1",
"vite": "^8.0.0",
"vite-plugin-node-polyfills": "^0.25.0",
@krishan711 krishan711 changed the title Fiddle: update to latest vite Fiddle: update to latest vite + remove react webpack stuff Mar 13, 2026
@krishan711 krishan711 merged commit 3f06a71 into main Mar 13, 2026
5 checks passed
@krishan711 krishan711 deleted the vite branch March 13, 2026 17:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants