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:
[x] Add fast-glob instead of synced file reading
[x] use process.cwd and __dirname together to avoid trail/leading slash pathing
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..
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
orresolve(__dirname, ...)
. Vite 2 uses@rollup/plugin-alias
now, which leads to a different Itteration on those Operating Systems!Proposal: