Skip to content

chore: use tsconfig paths for Vite resolution - #513

Merged
DMartens merged 1 commit into
mainfrom
chore/use-vite-tsconfig-paths
Aug 14, 2026
Merged

chore: use tsconfig paths for Vite resolution#513
DMartens merged 1 commit into
mainfrom
chore/use-vite-tsconfig-paths

Conversation

@Pixel998

Copy link
Copy Markdown
Contributor

Prerequisites checklist

AI acknowledgment

  • I did not use AI to generate this PR.
  • (If the above is not checked) I have reviewed the AI-generated content before submitting.

What is the purpose of this pull request?

Running npm start displayed the following Vite warning:

(!) Your Vite config uses features that are unsupported by `configLoader: 'native'`, which is planned to become the default in a future major version of Vite:
  - `__dirname` (vite.config.ts:77:22). Use `import.meta.dirname` instead     
Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning. 

What changes did you make? (Give an overview)

Enabled Vite’s resolve.tsconfigPaths option and removed the manually configured @ alias.

resolve.tsconfigPaths is no longer experimental as of Vite 8.2.0, so it can be used instead of resolving the alias with __dirname.

Related Issues

Is there anything you'd like reviewers to focus on?

@netlify

netlify Bot commented Aug 14, 2026

Copy link
Copy Markdown

Deploy Preview for eslint-code-explorer ready!

Name Link
🔨 Latest commit 8d13274
🔍 Latest deploy log https://app.netlify.com/projects/eslint-code-explorer/deploys/6a7e5b2d63fd9b0008a327db
😎 Deploy Preview https://deploy-preview-513--eslint-code-explorer.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@eslintbot eslintbot added this to Triage Aug 14, 2026
@github-project-automation github-project-automation Bot moved this to Needs Triage in Triage Aug 14, 2026
@Pixel998 Pixel998 moved this from Needs Triage to Implementing in Triage Aug 14, 2026

@DMartens DMartens left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes LGTM, thanks.

@DMartens
DMartens merged commit d6b8970 into main Aug 14, 2026
10 checks passed
@DMartens
DMartens deleted the chore/use-vite-tsconfig-paths branch August 14, 2026 22:10
@github-project-automation github-project-automation Bot moved this from Implementing to Complete in Triage Aug 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Complete

Development

Successfully merging this pull request may close these issues.

3 participants