Skip to content

chore: upgrade esbuild to ^0.27.0 and remove overrides#373

Merged
web-padawan merged 1 commit intomainfrom
chore/remove-esbuild-override
Apr 6, 2026
Merged

chore: upgrade esbuild to ^0.27.0 and remove overrides#373
web-padawan merged 1 commit intomainfrom
chore/remove-esbuild-override

Conversation

@web-padawan
Copy link
Copy Markdown
Member

Summary

  • Removes the overrides field that used "$esbuild" syntax, which older npm versions (e.g. Node 22.18) cannot resolve — causing CI failures with "Unable to resolve reference $esbuild"
  • Bumps esbuild from ^0.24.0 to ^0.27.0 to satisfy vite 8's peer dependency directly, making the override unnecessary
  • Removes the /u (Unicode) regex flag from esbuild plugin filters in scripts/build.ts, since esbuild 0.27 uses Go regex which doesn't support it

Test plan

  • npm install succeeds without overrides
  • npm run build passes
  • npm test — all 100 tests pass
  • Verify CI passes on Node 22.18

🤖 Generated with Claude Code

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>
@web-padawan web-padawan merged commit 8215e41 into main Apr 6, 2026
2 checks passed
@web-padawan web-padawan deleted the chore/remove-esbuild-override branch April 6, 2026 12:51
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.

2 participants