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: {