aleclarson / vite-tsconfig-paths

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

CJS Build warning #140

Open nicobao opened 2 months ago

nicobao commented 2 months ago

Hi, I added your plugin in Vite through Quasar config following this https://quasar.dev/quasar-cli-vite/handling-vite/#using-with-typescript, and I get this warning:

The CJS build of Vite's Node API is deprecated. See https://vitejs.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated for more details.

It is not high priority at all, it works perfectly - I just have this warning.

The only .cjs file I have in my project is .eslintrc.cjs.