feat!: update esbuild to 0.18.2#13525
Conversation
|
|
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 <[email protected]>
|
analogjs is failing with astro is failing with histoire and iles is failing with main branch, too. |
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! |
patak-dev
left a comment
There was a problem hiding this comment.
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": trueon our side to remove this breaking change but I didn't.targetsotargetintsconfigwas never used.esbuild's option is both of the options are set. (related: feat(node/plugins): esbuild options #11049)useDefineForClassFieldsvalue fromtsconfig.compilerOptions.target(fixes #10296) #11301)useDefineForClassFieldsvalue 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).