Background
We upgraded Vite 7 → 8 (which swaps the bundler from Rollup to Rolldown) in #4759 and #4762. Since then we've hit recurring regressions that have been costly to chase down:
Vite 8 + Rolldown is still very new for our use cases. Rather than keep firefighting downstream, revert to Vite 7 / Rollup. The next attempt is tracked separately.
Revert scope
PRs to revert:
Subsequent grouped Dependabot bumps that nudged vite up to ^8.0.9 need to have the vite line partially reverted; the rest of those groups can stay.
Affected files:
packages/eds-tailwind/package.json
packages/eds-tokens-build/{package.json, vite.config.ts}
packages/eds-tokens-sync/{package.json, vite.config.ts}
packages/eds-tokens/{package.json, vite.generate-variables.config.ts}
packages/eds-utils/package.json
apps/eds-color-palette-generator/{package.json, vite.config.ts}
pnpm-lock.yaml
Keep (do NOT revert)
Follow-up
Pin vite in .github/dependabot.yml to ignore version-update:semver-major so the next major doesn't auto-merge before we've validated the upgrade.
The re-attempt of the Vite 8 upgrade is tracked separately.
Background
We upgraded Vite 7 → 8 (which swaps the bundler from Rollup to Rolldown) in #4759 and #4762. Since then we've hit recurring regressions that have been costly to chase down:
light-dark()expansion changed in built tokens. Rolldown/Lightning CSS handleslight-dark()differently, which forced us to emit explicit dark-scope rules instead (fix: emit explicit dark-scope rules instead of light-dark() in tokens #4864 / e519ff2).eds-tokens-syncno longer works after the Rolldown migration, currently blocking 5xl letter spacing for UI typography is incorrect #4876.Vite 8 + Rolldown is still very new for our use cases. Rather than keep firefighting downstream, revert to Vite 7 / Rollup. The next attempt is tracked separately.
Revert scope
PRs to revert:
vite 7.3.1 → 8.0.3(the major)vite 8.0.3 → 8.0.5@vitejs/plugin-react 5.2.0 → 6.0.1(v6 likely requires Vite 8)rollupOptions→rolldownOptionsrename in 4 vite configsSubsequent grouped Dependabot bumps that nudged vite up to
^8.0.9need to have the vite line partially reverted; the rest of those groups can stay.Affected files:
packages/eds-tailwind/package.jsonpackages/eds-tokens-build/{package.json, vite.config.ts}packages/eds-tokens-sync/{package.json, vite.config.ts}packages/eds-tokens/{package.json, vite.generate-variables.config.ts}packages/eds-utils/package.jsonapps/eds-color-palette-generator/{package.json, vite.config.ts}pnpm-lock.yamlKeep (do NOT revert)
light-dark(). Better hygiene regardless of bundler and worth keeping.Follow-up
Pin vite in
.github/dependabot.ymlto ignoreversion-update:semver-majorso the next major doesn't auto-merge before we've validated the upgrade.The re-attempt of the Vite 8 upgrade is tracked separately.