-
-
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
_this is not defined
when using swc crates
#4224
Milestone
Comments
Seem like a bug, but not sure. |
kdy1
added a commit
to kdy1/swc
that referenced
this issue
Apr 2, 2022
Oh bugfix transform was the cause. |
Thanks! |
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. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
From Rust (it works fine via the swc binary/REPL), preset_env references nonexisting variables.
Either I'm using swc wrong or this is a bug?
Input
Invalid Output:
Code
(running with ac2357e):
Context
parcel-bundler/parcel#7878
The text was updated successfully, but these errors were encountered: