Skip to content

fix(vite): drop deprecated swc/tsconfig-paths plugins, use oxc/rolldown options#83

Merged
EinfachValle merged 1 commit into
developfrom
bugfix/vite8-deprecations
Jun 16, 2026
Merged

fix(vite): drop deprecated swc/tsconfig-paths plugins, use oxc/rolldown options#83
EinfachValle merged 1 commit into
developfrom
bugfix/vite8-deprecations

Conversation

@EinfachValle

Copy link
Copy Markdown
Contributor

Summary

Silences the four Vite 8 / Rolldown deprecation warnings that show up on every yarn dev:

  • vite-tsconfig-paths plugin → native resolve.tsconfigPaths: true (drops the dep)
  • @vitejs/plugin-react-swc@vitejs/plugin-react (recommended now that we use no SWC plugins; React Compiler / Babel peers are optional)
  • optimizeDeps.esbuildOptionsoptimizeDeps.rolldownOptions.transform
  • top-level esbuild.targetoxc.target (Vite 8's transform pipeline is Oxc, not esbuild — esbuild options are silently ignored)

Applied to app/vite.config.ts, app/vitest.config.ts, landingpage/vite.config.ts, landingpage/vitest.config.ts.

Test plan

  • yarn install clean
  • yarn typecheck green
  • yarn lint green
  • yarn test green (157 + 2 + 6 = 165 files)
  • yarn dev:web boots without any of the four warnings; dashboard renders, no new console errors

@EinfachValle EinfachValle force-pushed the bugfix/vite8-deprecations branch from 74839a7 to 6e451b0 Compare June 16, 2026 07:50
@EinfachValle EinfachValle merged commit 9483d52 into develop Jun 16, 2026
@EinfachValle EinfachValle deleted the bugfix/vite8-deprecations branch June 16, 2026 07:50
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.

1 participant