You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FWIW I don't think this is a good idea. This would likely be brittle at least due to how esbuild renames identifiers, so checking for __reExport wouldn't work in 100% of cases. It wouldn't work for minified code but also the identifier might be _reExport2, etc. This should probably be fixed on esbuild's end instead: evanw/esbuild#2486 (comment)
REPL
Consideration: when minified, should this code be detected?:
Consideration2: since esbuild has not been 1.0, this pattern may still change in the future, so you may not in a hurry to implement that.
Related issue: evanw/esbuild#2486
The text was updated successfully, but these errors were encountered: