From 489a946078e22301140a90cc8c255061e5d72e98 Mon Sep 17 00:00:00 2001 From: 刘汉宸 Date: Wed, 22 Jul 2020 18:13:19 +0800 Subject: [PATCH] chore: 修改打包流程 --- webpack/release.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webpack/release.js b/webpack/release.js index be707b2..2e5e185 100644 --- a/webpack/release.js +++ b/webpack/release.js @@ -3,7 +3,7 @@ const ora = require('ora'); const path = require('path'); const { exec } = require('child_process'); -const outputPath = path.resolve(__dirname, '../release'); +const outputPath = path.resolve(__dirname, '../lib'); // 删除文件夹 const delPath = path => { @@ -36,7 +36,7 @@ if (fs.existsSync(outputPath)) { delPath(outputPath); } -const cmd = 'vue-cli-service build --target lib --name zee --dest release packages/index.js'; +const cmd = 'vue-cli-service build --target lib --name zee --dest lib packages/index.js'; const spinner = ora('编译中...').start(); -- libgit2 0.21.0