Skip to content

chore(deps): migrate explorer and tutorial build stack to Vite 8 #1056

@alainncls

Description

@alainncls

Summary

Upgrade the frontend build stack to the latest eligible major versions older than 3 days as of 2026-04-23:

  • explorer: vite 6.4.2 -> 8.0.8, @vitejs/plugin-react 4.7.0 -> 6.0.1, vite-plugin-svgr 4.5.0 -> 5.2.0, vite-tsconfig-paths 5.1.4 -> 6.1.1
  • tutorial: vite 7.3.2 -> 8.0.8, @vitejs/plugin-react 5.2.0 -> 6.0.1

Why this is not in the current dependency bump PR

Vite 8 is a breaking build-tool migration. It changes bundler internals (Rolldown), can affect plugin behavior, and needs dedicated frontend build verification.

Documentation

Expected codebase changes

  • Review vite.config.* files in explorer and tutorial.
  • Re-check SVG handling, tsconfig path resolution, React plugin behavior, and any custom plugin assumptions.
  • Confirm the required Node.js version is satisfied in local and CI environments.

Migration plan

  1. Upgrade Vite and the official/community plugins on a dedicated branch.
  2. Update vite.config files for Vite 8 / Rolldown compatibility.
  3. Re-test SVG import paths and tsconfig-path resolution.
  4. Compare production build output, chunking, and warnings before/after.
  5. Update CI/runtime documentation if the Node requirement changed.

Validation checklist

  • Build explorer.
  • Build tutorial.
  • Smoke-test the built frontend bundles locally.
  • Check for plugin regressions and new build-time warnings.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ExplorerTicket impacting the ExplorerTech DebtdependenciesPull requests that update a dependency file

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions