From 9a257c0d01115d65979a3b8efd9f59029b8e24a4 Mon Sep 17 00:00:00 2001 From: jian Date: Thu, 14 Sep 2023 22:24:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A0jira=E4=BB=BB=E5=8A=A1=20=E5=AF=BC?= =?UTF-8?q?=E5=87=BA=E7=BC=BA=E5=A4=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/fineui/webpack/attachments.js | 6 ++++++ packages/fineui/webpack/webpack.prod.js | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/packages/fineui/webpack/attachments.js b/packages/fineui/webpack/attachments.js index 7f4cfa185..0f136a8ec 100644 --- a/packages/fineui/webpack/attachments.js +++ b/packages/fineui/webpack/attachments.js @@ -38,8 +38,14 @@ const fineuiForWorker = [].concat( basicAttachmentMap.ts ); +const fineuiForV8Export = [...fineuiForWorker].concat( + configJS +); + + module.exports = { fineui: uniq(fineui), fineuiForWorker: uniq(fineuiForWorker), + fineuiForV8Export: uniq(fineuiForV8Export), bundleCss, }; diff --git a/packages/fineui/webpack/webpack.prod.js b/packages/fineui/webpack/webpack.prod.js index d1d7b9ffc..da8fac621 100644 --- a/packages/fineui/webpack/webpack.prod.js +++ b/packages/fineui/webpack/webpack.prod.js @@ -11,7 +11,7 @@ module.exports = merge(common, { "fineui.min": attachments.fineui, "fineui.worker.min": attachments.fineuiForWorker, "fineui.worker": attachments.fineuiForWorker, - "fineui_without_jquery_polyfill.min":attachments.fineuiForWorker, + "fineui_without_jquery_polyfill.min": attachments.fineuiForV8Export, }, output: {