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

chore: update esbuild to 0.16.2 #11265

Merged
merged 1 commit into from Dec 8, 2022
Merged

Conversation

sapphi-red
Copy link
Member

@sapphi-red sapphi-red commented Dec 8, 2022

Description

This is a breaking change for v4.0.0-beta.3, beta.4, beta.5.

Additional context


What is the purpose of this pull request?

  • Bug fix
  • New Feature
  • Documentation update
  • Other

Before submitting the PR, please make sure you do the following

  • Read the Contributing Guidelines.
  • Read the Pull Request Guidelines and follow the Commit Convention.
  • Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
  • Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
  • Ideally, include relevant tests that fail without this PR but pass with it.

@sapphi-red sapphi-red added p1-chore Doesn't change code behavior (priority) breaking change labels Dec 8, 2022
Comment on lines -131 to -132
// esbuild 0.16.0 & 0.16.1 defaults to 'browser': https://github.com/evanw/esbuild/issues/2718
platform: 'neutral',
Copy link
Member Author

Choose a reason for hiding this comment

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

Deleting this will make <script> to be escaped because platform: 'browser' enables that feature.
https://github.com/evanw/esbuild/blob/main/CHANGELOG.md#0162:~:text=Provide%20a%20way,break%20the%20code%3A

Before esbuild 0.16.0, this was happening.

@patak-dev patak-dev merged commit e1d8d46 into vitejs:main Dec 8, 2022
@sapphi-red sapphi-red deleted the chore/bump-esbuild branch December 9, 2022 06:43
futurGH pushed a commit to futurGH/vite that referenced this pull request Feb 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change p1-chore Doesn't change code behavior (priority)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants