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: add electron as an external for webpack #239134

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

devm33
Copy link
Contributor

@devm33 devm33 commented Jan 29, 2025

This should fix the issue where require('electron') does not resolve on the bundled extension after #238149

Note, I don't see how to bundle the extension locally to confirm that this is working.

cc #207867

@TylerLeonhardt
Copy link
Member

due to the nature of this change, we will hold off on it til Monday so we can let it bake in Insiders.

@TylerLeonhardt
Copy link
Member

You can trigger a bundled build by running:

npm run gulp vscode-darwin-arm64

Which will build the macOS ARM build.

You can see all of our targets with:

npm run gulp -- --tasks

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.

4 participants