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

fix: update esbuild to 0.12 #3570

Merged
merged 1 commit into from
May 29, 2021
Merged

fix: update esbuild to 0.12 #3570

merged 1 commit into from
May 29, 2021

Conversation

ludofischer
Copy link
Contributor

Description

Update esbuild to the latest 0.12 release, so Vite can continue tracking esbuild changes and bug fixes.

Additional context

From what I could gather, the breaking changes in esbuild:

  • CSS bundling, which Vite does not use,
  • changing the priority of the inject and define settings,
    which should have little impact since Vite only uses define.

https://github.com/evanw/esbuild/blob/master/CHANGELOG.md


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.

@Shinigami92 Shinigami92 added the dependencies Pull requests that update a dependency file label May 27, 2021
Shinigami92
Shinigami92 previously approved these changes May 27, 2021
patak-dev
patak-dev previously approved these changes May 28, 2021
@patak-dev patak-dev requested a review from antfu May 28, 2021 11:31
antfu
antfu previously approved these changes May 28, 2021
nihalgonsalves
nihalgonsalves previously approved these changes May 28, 2021
@nihalgonsalves
Copy link
Member

nihalgonsalves commented May 28, 2021

You're already behind a version haha, @ludofischer could you bump it to 0.12.5?

Update esbuild to the latest 0.12 release.
https://github.com/evanw/esbuild/blob/master/CHANGELOG.md
Breaking changes concern CSS bundling, which Vite does not use,
and changing the priority of the inject and define settings,
which should have little impact since Vite only uses define.
@antfu antfu merged commit 421c530 into vitejs:main May 29, 2021
@ludofischer ludofischer deleted the esbuild-12 branch May 29, 2021 10:51
ygj6 pushed a commit to ygj6/vite that referenced this pull request Jun 1, 2021
Update esbuild to the latest 0.12 release.
https://github.com/evanw/esbuild/blob/master/CHANGELOG.md
Breaking changes concern CSS bundling, which Vite does not use,
and changing the priority of the inject and define settings,
which should have little impact since Vite only uses define.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants