Subwaytime / vite-aliases

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

Fix Vite 2 Support for MacOs / Linux / Unix #6

Closed Subwaytime closed 3 years ago

Subwaytime commented 3 years ago

Due to the Plugin API Changes with Vite 2, there seems to be an Issue with the generated Paths for MacOS / Linux or Unix in general.

Currently there is an Issue with leading Slashes on generated Paths due to process.cwd or resolve(__dirname, ...). Vite 2 uses @rollup/plugin-alias now, which leads to a different Itteration on those Operating Systems!

Proposal:

Subwaytime commented 3 years ago

Currently i am working on a new Version, its just more complex then i anticipated! The new Version will also feature allow for Deep Searching and a Watcher! Stay Tuned..