chore: drop vite-tsconfig-paths in favor of Vite 8 native support#375
Open
HerrBertling wants to merge 2 commits into
Open
chore: drop vite-tsconfig-paths in favor of Vite 8 native support#375HerrBertling wants to merge 2 commits into
HerrBertling wants to merge 2 commits into
Conversation
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>
66547e0 to
67978bb
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Vite 8 (just merged in #351) added native tsconfig paths resolution via
resolve.tsconfigPaths. After the bump, typecheck surfaced this deprecation hint twice: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,/dereturns 200 with the full HTMLTest plan
🤖 Generated with Claude Code