aleclarson / vite-tsconfig-paths

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

`rootDirs` support? #130

Open siefkenj opened 5 months ago

siefkenj commented 5 months ago

This plugin doesn't seem to allow the use of tsconfig.json's rootDirs property, which lets one specify multiple directories and import "./foo" from any file as long as foo.ts exists in one of the directories.

Is rootDirs supposed to work/is this a planned feature?

aleclarson commented 5 months ago

I wasn't aware of that feature. PR welcome!