aleclarson / vite-tsconfig-paths

Support for TypeScript's path mapping in Vite
MIT License
1.28k stars 45 forks source link

Dependency is fixed on `vite@latest` #34

Closed fwouts closed 2 years ago

fwouts commented 3 years ago

https://github.com/aleclarson/vite-tsconfig-paths/blob/master/package.json currently sets the vite dependency to latest. This means a project may end up using two versions of Vite by mistake when they use this package (leading to TypeScript errors in particular).

Would it be possible to relax it to ^2 or some more specific minimum version (e.g. ^2.4)?

aleclarson commented 2 years ago

Are you aware the latest part is in devDependencies? Are you using a local clone or smth?