-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Const enums inlined when bundling, but expressions not optimized #3416
Labels
Comments
This was referenced Jun 30, 2024
This was referenced Jul 10, 2024
This was referenced Jul 21, 2024
This was referenced Sep 7, 2024
This was referenced Sep 17, 2024
This was referenced Sep 22, 2024
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
https://esbuild.github.io/try/#YgAwLjE5LjQALS1taW5pZnkgZW50cnkudHMgLS1idW5kbGUAAGVudHJ5LnRzAGltcG9ydCB7QX0gZnJvbSAnLi9lbnVtLnRzJwoKaWYgKCdiJyA9PT0gQS5CKSB7Y29uc29sZS5sb2coMil9IGVsc2Uge2NvbnNvbGUubG9nKDMpfQonYScgPT09IEEuQiA/IGNvbnNvbGUubG9nKDIpIDogY29uc29sZS5sb2coMykAAGVudW0udHMAZXhwb3J0IGNvbnN0IGVudW0gQSB7QiA9ICdiJywgQyA9ICdjJ30K
Expected result:
Got:
If const enum in same file, all works perfectly
The text was updated successfully, but these errors were encountered: