-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
swc_bundler: does not support top level await import statements #1112
Comments
I fixed other issues but I have a question about this issue. Is this an issue about dynamic import itself? |
I don't know specifically, but it threw an error on what is legitimate code. I didn't dig deeper. If we aren't going to inline dynamic imports (current |
Got it, thanks for clarification. |
I checked that following
As you are using it from rust, you need to provide recent version of ecmascript to the parser via |
This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you. |
Describe the bug
swc_bundler does not appear to handle top level await import statements
Input code
example4.ts
a.ts
Expected behavior
A valid emit of some sort.
Actual, using the swc_bundler branch/PR:
Version
Version: swc_bundler 0.7.4
Additional context
Working to integrate swc_bundler into Deno.
The text was updated successfully, but these errors were encountered: