From aa8db3c9e5a94053247ce5a750e9ec894b873ad5 Mon Sep 17 00:00:00 2001 From: wujingjing <gersonwu@qq.com> Date: 星期四, 05 九月 2024 10:12:02 +0800 Subject: [PATCH] scripts --- scripts/build.js | 14 -------------- 1 files changed, 0 insertions(+), 14 deletions(-) diff --git a/scripts/build.js b/scripts/build.js index 2f7640d..f51daee 100644 --- a/scripts/build.js +++ b/scripts/build.js @@ -27,20 +27,6 @@ copyFile(); -// 澶嶅埗amis-editor 鍒� public鏂囦欢澶逛腑 -const amisEditorPath = path.join(rootDir,'amis-editor'); -const targetPath = path.join(publicDir,'amis-editor') -const isExist = fs.pathExistsSync(amisEditorPath); -if(!isExist){ - logWarn('amis-editor 涓嶅瓨鍦紒'); -}else{ - const isExist = fs.pathExistsSync(targetPath); - if(!isExist){ - fs.mkdirSync(targetPath); - } - const res = fs.copySync(amisEditorPath,targetPath) - res ?? logSuccess('========= 宸查泦鎴� amis-editor =========') -} // 鏇存敼 import.meta.glob updateImportGlob(); -- Gitblit v1.9.3