aleclarson / vite-tsconfig-paths

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

How does this work with native ESM package.json subpath imports? #141

Open CMCDragonkai opened 1 month ago

CMCDragonkai commented 1 month ago

Per https://github.com/vitejs/vite/pull/7770 it seems Vite already supports subpath imports. How does this plugin work in that case? Do they conflict or override?

CMCDragonkai commented 1 month ago

It appears vite still doesn't understand subpath imports in package.json yet, so this is still needed.