-
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
There is a compilation error #2203
Comments
System info:
|
It seems the const a = /* @__PURE__ */ function(){}() // valid
export default /* @__PURE__ */ function(){}() // invalid This problem only happens in transform mode, since in build mode the default export will be transformed to |
@hyrious Yes, this is a syntax error |
Thanks for the report. This is a bug in esbuild. I will fix this in the next release. In the meantime, you should be able to work around this by changing |
There is a compilation error, which seems to be the problem of esbuild. Is there any solution?
The text was updated successfully, but these errors were encountered: