...
|
...
|
@@ -108,7 +108,6 @@ new Promise((resolve, reject) => { // 加载manifest.json文件 |
|
|
if (shelljs.exec('yarn --production=true').code !== 0) {
|
|
|
throw 'yarn install faild';
|
|
|
}
|
|
|
shelljs.exec('../../bin/node-prune ./node_modules');
|
|
|
}).catch(error => {
|
|
|
console.error(`error:${error}`);
|
|
|
return process.exit(1); //eslint-disable-line
|
...
|
...
|
|