-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Minify breaks eval which refers const #2361
Comments
Did you mean esbuild should take care of |
Using |
Sorry that I forgot to write the expected behavior. |
Input:
Output:
repl
Input
Output
repl
const v = 0
was dropped here.esbuild/internal/js_parser/js_parser.go
Lines 9312 to 9317 in 698898f
I found this while working on #2360.
version: esbuild 0.14.48
The text was updated successfully, but these errors were encountered: