Subwaytime / vite-aliases

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

Add `/*` suffix to aliases to make them work #28

Closed FunctionDJ closed 3 years ago

FunctionDJ commented 3 years ago

Out of the box, vite-aliases doesn't add /* suffixes to path values, which from my experience is required to make them work. (Maybe just newer versions?)

vite-aliases:

"@interfaces/*": ["C:/.../interfaces"]

Working for me:

"@interfaces/*": ["C:/.../interfaces/*"]

Maybe a suffix config option to make this work?

Subwaytime commented 3 years ago

Just realized that i already fixed this issue, but its not added to the Path only to the key.. , thats on my end! 😅

Subwaytime commented 3 years ago

fixed with v0.8.4