You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
vite-plugin-solid duplicates aliases listed under resolve.alias. Any downstream vite plugins that reference the user config in the configResolved hook have to deal with de-duplicating the user aliases.
Output result of config.resolve.alias in the configResolved hook after running vite-plugin-solid:
Sorry for the delay, I added an extra test on the ./playground/vite.config.js config file and manage to reproduce and seemingly fix the issue. It appears, vite automatically already merge stuff together properly so I just removed the mergeAndConcat call.
vite-plugin-solid
duplicates aliases listed underresolve.alias
. Any downstream vite plugins that reference the user config in theconfigResolved
hook have to deal with de-duplicating the user aliases.Output result of
config.resolve.alias
in theconfigResolved
hook after runningvite-plugin-solid
:vite.config.ts
:The issue might be from creating a new array on this line with
mergeAndConcat
:vite-plugin-solid/src/index.ts
Line 267 in 48ca0c0
The text was updated successfully, but these errors were encountered: