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

Consider using prebuildify over prebuild-install for version 3.x #2442

Open
exige81 opened this issue Oct 19, 2024 · 1 comment
Open

Consider using prebuildify over prebuild-install for version 3.x #2442

exige81 opened this issue Oct 19, 2024 · 1 comment

Comments

@exige81
Copy link

exige81 commented Oct 19, 2024

Feature Request:

Replace prebuild-install with prebuildify

Motivation:

prebuildify ships prebuilt binaries inside the npm package in lieu of storing them on github.
prebuild-install itself currently recommends using prebuildify over prebuild-install

This provides a lower friction installation experience for the end user, especially for those behind a firewall or in enterprise environments where access to github is limited. prebuild-install can be configured with a host mirror, but this adds further complication and isnt always straightforward as evidenced by the several issues created surrounding the inability to reach the prebuilt binaries on github.

prebuildify also is compatible with N-API

@btsimonh
Copy link

could be interesting. But canvas has a LOT of binaries (74 Mbytes on windows - although actually only 27mbytes are required - seems the binary dist contains the pdb and obj files!).
But, if we had the four primary platforms, windows, macos x 2, linux, we could expect the overall binary loading to be ~100mbytes or more, when each install will only use ~25 Mbytes of this.

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

No branches or pull requests

2 participants