From 03a0822c174d946036afcefb29f28d91b9c598b3 Mon Sep 17 00:00:00 2001 From: gerson <1405270578@qq.com> Date: 星期六, 07 九月 2024 16:35:34 +0800 Subject: [PATCH] emit un use --- 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