You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rough idea: prebuildify would write a JSON file containing build metadata (platform, arch, abi, etc). A secondary tool (serving a similar role as prebuildify-ci) would collect those files and generate a binding.js to be included in your npm package. E.g.:
if(platform==='linux'&&arch==='x64'){module.exports=require('./prebuilds/linux-x64/example.node')}else{thrownewError('No native build was found for ...')}
Removing the need to discover files at runtime.
The text was updated successfully, but these errors were encountered:
Rough idea:
prebuildify
would write a JSON file containing build metadata (platform, arch, abi, etc). A secondary tool (serving a similar role asprebuildify-ci
) would collect those files and generate abinding.js
to be included in your npm package. E.g.:Removing the need to discover files at runtime.
The text was updated successfully, but these errors were encountered: