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

Reduce install size for linux glibc/musl #401

Merged
merged 1 commit into from
Dec 30, 2021

Conversation

styfle
Copy link
Contributor

@styfle styfle commented Dec 27, 2021

Currently, linux installs both glibc and musl binaries.

This PR adds the install script to prevent installing unused binaries, reducing the install size.

We originally thought this could be added to Node.js core and thus npm but it was rejected.

@Brooooooklyn Brooooooklyn merged commit d1c109e into Brooooooklyn:main Dec 30, 2021
@styfle styfle deleted the add-install-script-gnu-musl branch January 1, 2022 14:50
@styfle
Copy link
Contributor Author

styfle commented Jan 1, 2022

Looks like it worked 👍

https://packagephobia.com/result?p=@napi-rs/canvas@0.1.18

@Brooooooklyn
Copy link
Owner

Definitely !

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