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

Dynamic Imports #195

Open
nathanielhunter opened this issue Aug 28, 2020 · 1 comment
Open

Dynamic Imports #195

nathanielhunter opened this issue Aug 28, 2020 · 1 comment

Comments

@nathanielhunter
Copy link

🚀 Feature Proposal

It appears i18next-scanner crashes when utilizing dynamic imports, it would be nice to support this feature.

Motivation

Using create-react-app with code splitting requires dynamic imports. After implementing code splitting I was unable to localize properly.

Example

No changes to usage, just extra support!

@Light0815
Copy link

I found a workaround.
Set ecmaVersion to 11 instead of 10. 

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