优化工程构建脚本

This commit is contained in:
aixianling
2022-02-15 09:15:59 +08:00
parent 2457845536
commit f9f75c4e34

View File

@@ -39,6 +39,7 @@ const chalkTag = {
* 遍历应用的方法
*/
const findApp = (dir, cb) => {
fsExtra.ensureDirSync(dir)
return readdir(dir).then(apps => {
return Promise.all(apps.map(e => {
let cPath = path.join(dir, e)