Skip to content

chore: drop vite-tsconfig-paths in favor of Vite 8 native support#375

Open
HerrBertling wants to merge 2 commits into
mainfrom
chore/drop-vite-tsconfig-paths
Open

chore: drop vite-tsconfig-paths in favor of Vite 8 native support#375
HerrBertling wants to merge 2 commits into
mainfrom
chore/drop-vite-tsconfig-paths

Conversation

@HerrBertling
Copy link
Copy Markdown
Owner

Summary

Vite 8 (just merged in #351) added native tsconfig paths resolution via resolve.tsconfigPaths. After the bump, typecheck surfaced this deprecation hint twice:

The plugin "vite-tsconfig-paths" is detected. Vite now supports tsconfig paths resolution natively via the resolve.tsconfigPaths option. You can remove the plugin and set resolve.tsconfigPaths: true in your Vite config instead.

This PR drops the plugin and switches to the native option. One fewer dependency to track, identical behaviour.

Local verification

  • npm run lint
  • npm run typecheck ✅ (no more deprecation warning)
  • npm test -- --run ✅ — 63/63 (which exercises path imports like ~/utils/...)
  • npm run dev ✅ — server boots, /de returns 200 with the full HTML

Test plan

  • CI green
  • Netlify deploy preview renders a couple of locales

🤖 Generated with Claude Code

HerrBertling and others added 2 commits May 9, 2026 21:48
Vite 8 added native tsconfig paths resolution via the
`resolve.tsconfigPaths` option, making the `vite-tsconfig-paths` plugin
redundant. After bumping to Vite 8 (#351), running typecheck surfaced
this deprecation hint:

  The plugin "vite-tsconfig-paths" is detected. Vite now supports
  tsconfig paths resolution natively via the resolve.tsconfigPaths
  option. You can remove the plugin and set resolve.tsconfigPaths: true
  in your Vite config instead.

Verified locally: lint, typecheck, all 63 tests pass; dev server boots
and `/de` renders correctly (path imports like `~/utils/...` continue
to resolve).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@HerrBertling HerrBertling force-pushed the chore/drop-vite-tsconfig-paths branch from 66547e0 to 67978bb Compare May 10, 2026 10:19
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