-
Notifications
You must be signed in to change notification settings - Fork 51
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
Does not work with resolve.alias
#3
Comments
This is has been released in version |
@amoutonbrady ...
resolve: {
alias: [
{ find: 'views', replacement: './src/views' },
]
},
... But this don't work: ...
resolve: {
alias: {
views: './src/views',
}
},
...
`` |
Ah, I see.. that's an odd syntax.. I used a package that automatically handles deep merging but I guess it gets stuck on trying to merge an object into an array. I guess I'll have to do a bit of a manual work there. Thanks for bringing that up to my attention :) |
@langbamit For what it's worth, top level |
When I'm trying to use
vite-plugin-solid
with vite configresolve.alias
property, the aliases are not replaced.Then, when I try to start vite server, I'm getting an error:
If I disable the plugin, vite will start the server
The text was updated successfully, but these errors were encountered: