Subwaytime / vite-aliases

Alias auto generation for Vite
https://www.npmjs.com/package/vite-aliases
MIT License
213 stars 13 forks source link

Creating wrong TSConfig paths #62

Closed tnfssc closed 1 year ago

tnfssc commented 1 year ago

I have my ViteJS project located in a folder ~/myprojects/web/src/foobar-project-007. When I run vite, it produced wrong tsconfig paths. I got src/foobar-project-007/src/components/*, src/foobar-project-007/src/lib/*, src/foobar-project-007/src/utils/* etc.

Maybe the problem is with having the project in a folder with name src. But I really have no idea

Subwaytime commented 1 year ago

Could you share your config? As well as turning on the log and posting it here!

Subwaytime commented 1 year ago

stale