85af7fd33df911d59827d1ac59f041706c829a12fde2f231eeb453b2c43d00caeea434ffc8da23d9b54123ffbdd74520be3e0d7315cd0942d34c604dfc0673 285 B

12345678910111213
  1. #!/usr/bin/env node
  2. const {spawn} = require('child_process');
  3. if (process.env.npm_config_build_from_source === 'true') {
  4. build();
  5. }
  6. function build() {
  7. spawn('node-gyp', ['rebuild'], { stdio: 'inherit', shell: true }).on('exit', function (code) {
  8. process.exit(code);
  9. });
  10. }