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

Investigate using pre-installed func core tools rather than downloading to user home dir #925

Open
Timothyw0 opened this issue Feb 12, 2025 · 0 comments
Labels
scope: core Issues happened a the ./src/core level type: enhancement New feature or request

Comments

@Timothyw0
Copy link
Member

Is your feature request related to a problem? Please describe.
Downloading the func core tools binary is bloating user disk space under $HOME/.swa/core-tools/$FUNC_VERSION

Describe the solution you'd like
In the scenario where it is already installed, we should check if core tools is already available on the user's machine and use that rather than downloading to the home directory

Describe alternatives you've considered
We can also consider using the minified releases of core tools which will take up less space in the user's home dir

Additional context
Changes should be made in this file: https://github.com/Azure/static-web-apps-cli/blob/main/src/core/func-core-tools.ts

@Timothyw0 Timothyw0 added type: enhancement New feature or request scope: core Issues happened a the ./src/core level labels Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope: core Issues happened a the ./src/core level type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant