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
I'm using @intlify/unplugin-vue-i18n/vite. When using vite build, the following error is returned:
TypeError: Cannot read properties of undefined (reading 'alias')
Looking at the code it seems that the problem is that I haven't defined resolve.alias configuration in vite. If I add an empty object to resolve.alias, the error goes away.
Reporting a bug?
I'm using
@intlify/unplugin-vue-i18n/vite
. When usingvite build
, the following error is returned:TypeError: Cannot read properties of undefined (reading 'alias')
Looking at the code it seems that the problem is that I haven't defined
resolve.alias
configuration in vite. If I add an empty object toresolve.alias
, the error goes away.I'm using tsconfig-paths so I don't need
resolve.alias
.Expected behavior
It should work without defining
resolve.alias
in viteReproduction
Vite configuration without
resolve.alias
defined.Issue Package
unplugin-vue-i18n
System Info
Screenshot
No response
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: