Skip to content
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.16 #288

Closed
wants to merge 2 commits into from

Conversation

silverwind
Copy link
Contributor

@silverwind silverwind commented Dec 13, 2022

See https://github.com/evanw/esbuild/releases/tag/v0.16.0

There is one breaking change with the legalComments default which changed to none and I just updated docs and test for this assuming you want to follow esbuild's default (I would).

See https://github.com/evanw/esbuild/releases/tag/v0.16.0

There is one breaking change with the legalComments default which
changed to `none` and I just updated docs and test for this assuming you
want to follow esbuild's default (I would).
@privatenumber
Copy link
Owner

I prefer to follow the default as well, but we'll need to avoid the breaking change to release this as a minor.

@silverwind
Copy link
Contributor Author

Why not bump to 3.0.0? Want to include any other breaking changes in such a version?

@silverwind
Copy link
Contributor Author

Ah, I see #275. Well to me personally, there is nothing critical in esbuild 0.16, so I'm happy to wait a bit longer until this is merged/released.

@MonkBen
Copy link

MonkBen commented Jan 3, 2023

Any update on when this can be merged in? I would like to test esbuild-loader but am unable to. There is a esbuild defect that was recently fixed and I can't test out esbuild-loader until it is in as a third party library I am using exposes this defect.

@@ -338,7 +338,7 @@ Minify JS using equivalent but shorter syntax.
#### legalComments
Type: `'none' | 'inline' | 'eof'`

Default: `'inline'`
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@privatenumber
Copy link
Owner

@MonkBen
Happy to move forward with this given your reason.

Can either of you upgrade esbuild to v0.16.13 and address the legalComments default?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants