We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm testing with esbuild 0.6.2.
The source file
/* @__PURE__ */ (function () {})()
gives the output
/* @__PURE__ */ function() { }();
when compiled with no options. This output is not valid JavaScript: it reads as a function declaration with no name.
The text was updated successfully, but these errors were encountered:
With another kind of preserved comment, the expression stays parenthesized:
/* @license */ (function() { })();
Sorry, something went wrong.
The issue first appears in 0.5.22 when the support for pure annotations was added.
This kind of code is present in the RxJS compiled source, so I can't use RxJS with newer versions of esbuild, hence my report.
esbuild
c782400
Thanks so much for reporting this. Makes sense why this broke. Sorry I didn't catch it. The fix is in version 0.6.3.
@evanw Amazing, thanks!
No branches or pull requests
I'm testing with esbuild 0.6.2.
The source file
gives the output
when compiled with no options. This output is not valid JavaScript: it reads as a function declaration with no name.
The text was updated successfully, but these errors were encountered: