-
Notifications
You must be signed in to change notification settings - Fork 19
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
Please, don't use dynamic require imports #525
Comments
Also you can use the new JavaScript 2020 native dynamic import with
This can be written inside an |
Hey @Razzwan, I'm assuming you're referring to these two usages:
and DAOcreator/packages/lib/src/dependency/arc/src/utils.js Lines 21 to 28 in 09db2fd
Both of these source files come from this repo: https://github.com/daostack/migration They're copied into the DAOcreator here: https://github.com/dOrgTech/DAOcreator/blob/master/packages/lib/scripts/prepArc.js The reason this manual copying is done is to:
If you'd like this code changed, I'd suggest making an issue here: https://github.com/daostack/migration |
ok. will try to update migration daostack/migration#373 |
Instead of such syntax:
Please, use such one:
Or with dynamic imports:
The text was updated successfully, but these errors were encountered: