Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Dec 14, 2025

This PR contains the following updates:

Package Change Age Confidence
vite-tsconfig-paths 5.1.4 -> 6.0.2 age confidence

Release Notes

aleclarson/vite-tsconfig-paths (vite-tsconfig-paths)

v6.0.2

Compare Source

v6.0.1

Compare Source

v6.0.0

Compare Source

Highlights

  • On-demand tsconfig discovery via projectDiscovery: "lazy", while eager discovery remains the default.
  • tsconfig/jsconfig files are watched and reloaded automatically in both modes, including during vite build --watch.
  • New logFile option for per-import resolution traces (pass true for vite-tsconfig-paths.log or provide a path).
  • Support for root /* aliases and other absolute-style imports.
  • Support for .astro files when allowJs/loose is enabled.

Fixes

  • More reliable tsconfig watching and resolver refreshes: handles lazy discovery edge cases, recreates resolvers after file changes, tolerates missing directories, and copes better with virtual importers.
  • Windows path handling now normalizes drive-letter casing to avoid missed matches (#​183).

Upgrade notes

  • Install the stable release: pnpm add -D vite-tsconfig-paths.
  • Opt into lazy discovery or logging when needed:
import tsconfigPaths from 'vite-tsconfig-paths'

export default {
  plugins: [
    tsconfigPaths({
      projectDiscovery: 'lazy',
      logFile: true,
    }),
  ],
}
  • Rooted path patterns such as "/*": ["src/*"] now resolve the same way tsserver does.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@codecov
Copy link

codecov bot commented Dec 14, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.65%. Comparing base (686916c) to head (4f2cbc2).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##           latest     #512   +/-   ##
=======================================
  Coverage   89.65%   89.65%           
=======================================
  Files           1        1           
  Lines          29       29           
  Branches        4        4           
=======================================
  Hits           26       26           
  Misses          3        3           
Flag Coverage Δ
unit 89.65% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@renovate renovate bot force-pushed the renovate/vite-tsconfig-paths-6.x branch 3 times, most recently from 2b6cfa3 to b12cffd Compare December 17, 2025 00:07
@renovate renovate bot force-pushed the renovate/vite-tsconfig-paths-6.x branch from b12cffd to 4f2cbc2 Compare December 17, 2025 04:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant