update auto build process

This commit is contained in:
jiaming743 2019-09-10 15:10:36 +08:00
parent 5c80a93f4d
commit 3ebbac5de3
1 changed files with 6 additions and 6 deletions

View File

@ -77,15 +77,15 @@ async function start () {
print.tip('After rollupCompile')
// const uglifyjs = await exec(`uglifyjs dist/${libName}.map.js -o dist/${libName}.min.js`)
const terser = await exec(`rollup -c build/rollup.terser.config.js`)
// if (!uglifyjs) {
// print.error('Exception in uglifyjs')
if (!terser) {
print.error('Exception in terser')
// return
// }
return
}
// print.tip('After uglifyjs')
print.tip('After terser')
print.yellow('-------------------------------------')
print.success(' DataV Lib Compile Success! ')