lingxixue-new-web/.pnpm-store/v11/files/e6/85af7fd33df911d59827d1ac59f041706c829a12fde2f231eeb453b2c43d00caeea434ffc8da23d9b54123ffbdd74520be3e0d7315cd0942d34c604dfc0673

14 lines
285 B
JavaScript

#!/usr/bin/env node
const {spawn} = require('child_process');
if (process.env.npm_config_build_from_source === 'true') {
build();
}
function build() {
spawn('node-gyp', ['rebuild'], { stdio: 'inherit', shell: true }).on('exit', function (code) {
process.exit(code);
});
}