Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolve user alias config #4

Merged

Conversation

maksimsemenov
Copy link

So there is an issue, with how alias config is merged by the vite. If the user used object format to set alias, vite will override it when merging the plugin config.

Not totally sure, if this should be the responsibility of the plugin or a vite itself.

@amoutonbrady
Copy link
Member

Hey, sorry to get back to you so late, I somehow didn't get the notice..

I think this is reasonable. A prior version of the plugin actually had a deepMerge function but I thought vite implemented it themselves at some point.

I guess it's time to re-introduce a deepMerge function, To prevent any further override whatsoever, In the meantime this should probably suffice

@amoutonbrady amoutonbrady merged commit 30e0442 into solidjs:master Mar 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants