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

[Feature]: Only install platform node modules per OS / Reduce extension bloat #147

Open
johnwildes opened this issue Feb 7, 2025 · 1 comment
Labels
enhancement New feature or request infrastructure

Comments

@johnwildes
Copy link

Problem

The Copilot for Azure extension is MASSIVE in terms of what it should be on the local device. 350MB, and a large portion of this is the installation of node modules and languages that are for other platforms. I'm running windows 11 on intel, and I see that in the extension installation folder, there's a linux-x64, osx-arm64, osx-x64, win-arm64 in the node_modules section of the folder. All of these are wasted on my platform.

C:\Users%USERNAME%.vscode-insiders\extensions\ms-azuretools.vscode-azure-github-copilot-0.3.97\dist\node_modules\microsoft.azure.copilotforazure.aiservice.webapi.localpackage

Image

Desired Solution

To combat extension bloat, either a single cross platform node_modules distribution should be created or somehow the extension should utilize the local node installation.

Alternatives and Workarounds

No response

Impact

No response

Additional Context

No response

@johnwildes johnwildes added the enhancement New feature or request label Feb 7, 2025
@MRayermannMSFT
Copy link
Member

Thanks for the issue @johnwildes! We are aware of the massive extension size and do intend on addressing it. We'll leave this issue open as a place to give any updates on those efforts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request infrastructure
Projects
None yet
Development

No branches or pull requests

3 participants