From 4c4b1de0e86ac0a2efe82d65a084a2237c8b9e6d Mon Sep 17 00:00:00 2001 From: zsmj Date: Mon, 8 May 2023 15:08:01 +0800 Subject: [PATCH] =?UTF-8?q?BI-126065=20fix:=20=E3=80=906.0.10=E3=80=91?= =?UTF-8?q?=E4=BD=8E=E7=89=88=E6=9C=AC=E7=81=AB=E7=8B=90=E6=B5=8F=E8=A7=88?= =?UTF-8?q?=E5=99=A8=E6=89=93=E5=BC=80=E5=B7=A5=E7=A8=8B=E7=95=8C=E9=9D=A2?= =?UTF-8?q?=E7=A9=BA=E7=99=BD=EF=BC=8C=E6=8E=A7=E5=88=B6=E5=8F=B0=E6=9C=89?= =?UTF-8?q?=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/fineui/webpack/webpack.prod.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/fineui/webpack/webpack.prod.js b/packages/fineui/webpack/webpack.prod.js index 712a39d10..2fc6ceb37 100644 --- a/packages/fineui/webpack/webpack.prod.js +++ b/packages/fineui/webpack/webpack.prod.js @@ -5,6 +5,7 @@ const attachments = require("./attachments"); module.exports = merge(common, { mode: "production", + target: ["web", "es5"], entry: { "fineui.min": attachments.fineui, @@ -14,8 +15,8 @@ module.exports = merge(common, { output: { path: dirs.DEST, - filename: "[name].js", + filename: "[name].js" }, - devtool: "hidden-source-map", + devtool: "hidden-source-map" });