Bundle and prebuild generation for Pear.
pearPack(drive, opts) -> { bundle <Buffer>, prebuilds <Map <key, <Buffer>> }Creates a bundle buffer and Map of prebuild buffers.
Options
target - target host architecture, may be array of architecturesbuiltins - array of builtinsmount - bundle mount pointprebuildsPrefix - prefix for prebuild pathsassetsPrefix - prefix for asset pathsentry - default /boot.js, bundle entrypointconditionals - default: ['node', 'bare'] additional prefixed conditionalsextensions - default: ['.node', '.bare'] supported addon extensionsApache 2.0