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