-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
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
feat!: update esbuild to 0.18.2 #13525
Conversation
Run & review this pull request in StackBlitz Codeflow. |
This comment was marked as duplicate.
This comment was marked as duplicate.
/ecosystem-ci run |
This comment was marked as duplicate.
This comment was marked as duplicate.
📝 Ran ecosystem CI: Open
|
Co-authored-by: patak <matias.capeletto@gmail.com>
analogjs is failing with astro is failing with histoire and iles is failing with main branch, too. |
@bluwy I don't understand why this PR fails with astro. Would you take a look?
|
I wonder if this would affect other Angular projects. Maybe we could add |
I guess there won't be many projects. Because if
This breaking chage is required for esbuild's ES decorators support: evanw/esbuild#104 (comment) That said, I think it's also fine to delay this breaking change. |
I think this is enough, let's align with esbuild as you proposed. cc @brandonroberts |
Thanks. There isn't a good reason |
@sapphi-red The problem seems to be that esbuild and this PR now picks up Note that there's a comment that it relied on In Astro if I add |
Ah, I see. Thank you for the explanation! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We think we should try this update in 4.4, given that Vite 5 is still 3 months away. We can give a longer testing window, and release 4.4 in the first days of July
Description
This PR updates esbuild to ^0.18.2 from ^0.17.5.
https://github.com/evanw/esbuild/blob/main/CHANGELOG.md
The breaking changes included is:
"experimentalDecorators": true
on our side to remove this breaking change but I didn't.target
sotarget
intsconfig
was never used.esbuild
's option is both of the options are set. (related: feat(node/plugins): esbuild options #11049)useDefineForClassFields
value fromtsconfig.compilerOptions.target
(fixes #10296) #11301)useDefineForClassFields
value fromtsconfig.compilerOptions.target
(fixes #10296) #11301's test covers this behavior)If a user is using dep optimization with TypeScript files, almost all the breaking changes are related.
https://github.com/evanw/esbuild/blob/main/CHANGELOG.md#0180
fixes #13500
fixes #13391
Additional context
What is the purpose of this pull request?
Before submitting the PR, please make sure you do the following
fixes #123
).