From f271573c89f787d898afc8b30adcbefd9de6494f Mon Sep 17 00:00:00 2001 From: zsmj Date: Thu, 9 Feb 2023 15:23:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A0JIRA=20=E7=94=A8core-js/stable?= =?UTF-8?q?=E6=9B=BF=E4=BB=A3=E5=B7=B2=E7=BB=8F=E5=BA=9F=E5=BC=83=E7=9A=84?= =?UTF-8?q?@babel/polyfill?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 不然有些array.prototype.flat, includes等都用不了 --- webpack/attachments.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webpack/attachments.js b/webpack/attachments.js index acb30ad2a..befe73db1 100644 --- a/webpack/attachments.js +++ b/webpack/attachments.js @@ -7,7 +7,7 @@ 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 = ["@babel/polyfill", "es6-promise/auto"]; +const runtimePolyfill = ["core-js/stable"]; const basicAttachmentMap = { polyfill: sync([