aleclarson/vite-tsconfig-paths
Support for TypeScript's path mapping in Vite observed · 2026-08-28
Health v2 · maintenance only
89/100
- Activity 99
- Release rhythm 69
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 12.5
- age_days: 2219
- days_rel: 207
- days_push: 8
- n_releases_24m: 7
Adoption not part of the score
1633 stars · 61 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Vite plugin that lets Vite resolve imports using TypeScript's tsconfig.json path mapping (compilerOptions.paths). It supports automatic tsconfig discovery, hot reloading of tsconfig changes, and works with frameworks like Vue, Svelte, and MDX via loose mode.
Use cases
- resolve @/ alias imports in vite using tsconfig paths
- make vite respect typescript compileroptions.paths
- avoid duplicating path aliases in vite config and tsconfig
- use tsconfig path mapping with vue or svelte files in vite
- auto-reload path aliases when tsconfig changes during dev
When to choose
- your Vite project uses TypeScript path aliases defined in tsconfig.json
- you want a single source of truth for import aliases across TypeScript and Vite
- you use frameworks like Vue, Svelte, or MDX alongside TypeScript paths
When to avoid
- your project doesn't use TypeScript path mapping
- you need CSS imports resolved via tsconfig paths (unsupported)
- you use a bundler other than Vite
Facets
plugin · maturity active
routing developer-tools web-development frontend developer-tools cli vite-plugin typescript path-mapping module-resolution tsconfig nodejs
2 sources
- readme: https://github.com/aleclarson/vite-tsconfig-paths · fetched 2026-08-28 · 63d94e9e4870
- registry_npm: https://registry.npmjs.org/vite-tsconfig-paths · fetched 2026-08-29 · 88110558647b
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| aleclarson/vite-tsconfig-paths | main | 89 |
For agents
markdown · JSON · MCP: product_card(name="aleclarson/vite-tsconfig-paths")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem