chore: upgrade esbuild to ^0.27.0 and remove overrides#373
Merged
web-padawan merged 1 commit intomainfrom Apr 6, 2026
Merged
Conversation
The `overrides` field used `"$esbuild"` syntax which older npm versions (e.g. npm shipped with Node 22.18) cannot resolve, causing CI failures with "Unable to resolve reference $esbuild". Bumping esbuild to ^0.27.0 satisfies vite 8's peer dependency directly, making the override unnecessary. Also removes the `/u` regex flag from esbuild plugin filters in build.ts since esbuild 0.27 converts JS regex to Go regex which doesn't support the Unicode flag. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
vursen
approved these changes
Apr 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
overridesfield that used"$esbuild"syntax, which older npm versions (e.g. Node 22.18) cannot resolve — causing CI failures with "Unable to resolve reference $esbuild"^0.24.0to^0.27.0to satisfy vite 8's peer dependency directly, making the override unnecessary/u(Unicode) regex flag from esbuild plugin filters inscripts/build.ts, since esbuild 0.27 uses Go regex which doesn't support itTest plan
npm installsucceeds without overridesnpm run buildpassesnpm test— all 100 tests pass🤖 Generated with Claude Code