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

[vite] ignored dynamic import(./locales/${locale}.js) in /@/i18n.ts. #210

Closed
mzl1988 opened this issue Dec 4, 2020 · 1 comment
Closed

Comments

@mzl1988
Copy link

mzl1988 commented Dec 4, 2020

image
[vite] ignored dynamic import(./locales/${locale}.js) in /@/i18n.ts.

@kazupon
Copy link
Member

kazupon commented Dec 4, 2020

Thank you for your feedback!

I seem that it's vite problem, not a vue-i18n problem. 🤔
Vite follows the specification of es imports and imports.
It's up to vite's implementation whether or not it supports the dynamic import of typescript.

@kazupon kazupon closed this as completed Dec 4, 2020
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

No branches or pull requests

2 participants