完成build脚本

This commit is contained in:
Harvey Zack committed 2018-12-03 12:46:52 +08:00
1 parent cc2027832e
commit 00b51c32ba
18 files changed
+84 -123

No files matched your search

+1 -1
View File
@@ -69,7 +69,7 @@ module.exports = function creatRollupConfig(projectPath) {
isProd &&
copyAfterBuild({
from: path.join(projectPath, 'dist/*'),
to: path.join(process.cwd(), 'docs/compiled'),
to: path.join(process.cwd(), 'dist'),
}),
],
};