prebuild / prebuildify

Create and package prebuilds for native modules
MIT License
200 stars 37 forks source link

[FeatureRequest] Divide binaries to multiple npm packages according to platform #66

Open k8w opened 2 years ago

k8w commented 2 years ago

Discussed here: https://github.com/murat-dogan/node-datachannel/issues/117

Prebuilt binaries for library node-datachannel is up to 80MB, but only 2MB would be used.

It may be better if there is a way to divide the prebuilt binaries to multiple npm packages automatically. So that the main package would only install the specific platform package after npm install.

vweevers commented 2 years ago

https://github.com/prebuild/prebuildify/pull/63