-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
[bug] dynamic import not working in bundles #4062
Comments
I believe this is an error in the emit from TypeScript and opened microsoft/TypeScript#37429. |
It is under investigation, but it does seem like it won't be a quick fix, so if we want to support it, we might have to come up with some sort of alternative solution. |
kitsonk
added a commit
to kitsonk/deno
that referenced
this issue
Apr 1, 2020
kitsonk
added a commit
to kitsonk/deno
that referenced
this issue
Apr 2, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Dynamic import is not working in bundles. While the static analysis of the dependencies is occurring, the module specifier is being passed unmodified, which means it is up to the bundle code to resolve the specifier.
Also, importing of JSON doesn't work in the bundle. The source JSON is simply inlined into the bundle.The text was updated successfully, but these errors were encountered: