-
-
Notifications
You must be signed in to change notification settings - Fork 41
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
Error in a project using decorators if esbuild version is >= 0.18.0 #365
Labels
Comments
#366 provides one of the possible solutions. |
🎉 This issue has been resolved in version 6.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This still does not work with extended tsconfig. Created a new issue for that in #371. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Starting from v0.18.0
esbuild
throws an error if TypeScript decorators are used in the project.This is because
esbuild
now checks forexperimentalDecorators: true
in tsconfig (evanw/esbuild@6f2c029).Originally it was reported as a bug to evanw/esbuild#3163
But it looks like
rollup-plugin-esbuild
just does not passexperimentalDecorators
option toesbuild
.Possible solutions:
experimentalDecorators
option totransform
(the one we get from tsconfig? or maybe alwaystrue
?)esbuild
version to< 0.18.0
The text was updated successfully, but these errors were encountered: