From cff23d9b5fd8af2b0f4d217df45b0da72f3697c9 Mon Sep 17 00:00:00 2001 From: iapyang Date: Tue, 6 Sep 2022 16:56:03 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=89=93=E5=8C=85=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webpack/attachments.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/webpack/attachments.js b/webpack/attachments.js index 8c7424f14..bf16b1505 100644 --- a/webpack/attachments.js +++ b/webpack/attachments.js @@ -7,14 +7,13 @@ const workerCompact = './dist/fix/worker.compact.js'; const lodashJs = "src/core/1.lodash.js"; const jqueryJs = "src/core/platform/web/jquery/_jquery.js"; -const runtimePolyfill = sync(["@babel/polyfill", "es6-promise/auto"]); +const runtimePolyfill = ["@babel/polyfill", "es6-promise/auto"]; const basicAttachmentMap = { polyfill: sync([ "src/core/0.foundation.js", "src/polyfill/**/*.js", - ...runtimePolyfill, - ]), + ]).concat(runtimePolyfill), core: sync([ "src/less/core/**/*.less", "src/less/theme/**/*.less",