Authored by 陈峰

comit

... ... @@ -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
... ...
... ... @@ -9,3 +9,4 @@ else
echo "you had enter unexpected word"
fi
yarn build:node --build=$needBuild
node-prune ./dist/node/node_modules
\ No newline at end of file
... ...