提交 fa473a72 编写于 作者: U ULIVZ

fix: build cannot exit (close: #580)

上级 5479d6ef
......@@ -93,6 +93,9 @@ module.exports = async function build (sourceDir, cliOptions = {}) {
const relativeDir = path.relative(process.cwd(), outDir)
logger.success(`\n${chalk.green('Success!')} Generated static files in ${chalk.cyan(relativeDir)}.\n`)
// fix: #580 build cannot exit.
process.exit(0)
// --- helpers ---
function compile (config) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册