Skip to content

Fix esbuilt web extensions#295097

Merged
mjbvz merged 1 commit intomicrosoft:mainfrom
mjbvz:dev/mjbvz/western-stoat
Feb 13, 2026
Merged

Fix esbuilt web extensions#295097
mjbvz merged 1 commit intomicrosoft:mainfrom
mjbvz:dev/mjbvz/western-stoat

Conversation

@mjbvz
Copy link
Collaborator

@mjbvz mjbvz commented Feb 13, 2026

We should be using cjs here still

We should be using cjs here still. Only webviews use esm
Copilot AI review requested due to automatic review settings February 13, 2026 07:36
@mjbvz mjbvz enabled auto-merge February 13, 2026 07:36
@vs-code-engineering vs-code-engineering bot added this to the February 2026 milestone Feb 13, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes the output module format used when bundling browser-targeted extensions with extensions/esbuild-extension-common.mts, ensuring compatibility with the web worker extension host’s CommonJS loading model.

Changes:

  • Switch browser (platform: 'browser') esbuild output format from iife to cjs.

@mjbvz mjbvz merged commit a0435f6 into microsoft:main Feb 13, 2026
23 checks passed
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