From 52d7ba90cb862e310090180386c08082fbd7a2df Mon Sep 17 00:00:00 2001 From: iapyang Date: Mon, 5 Sep 2022 19:49:32 +0800 Subject: [PATCH 1/3] =?UTF-8?q?chore:=20=E4=BF=AE=E6=94=B9=E4=B8=8B?= =?UTF-8?q?=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/cli/worker/template/main_thread.helper.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/cli/worker/template/main_thread.helper.t b/bin/cli/worker/template/main_thread.helper.t index 19ac36016..2ee06acb7 100644 --- a/bin/cli/worker/template/main_thread.helper.t +++ b/bin/cli/worker/template/main_thread.helper.t @@ -2,7 +2,7 @@ import { ${WorkerName}MainThreadWorker } from './main_thread/${workerName}_main_ // 不需要一起打包的话则不需要引入这行 // FuiWorkerPlugin中的属性会同步到fui-worker中,同时支持loader行内传入属性 // 根据实际需求传入inline,返回格式 true -> blob url,false -> servicePath -import { workerUrl } from 'fui-worker!./worker_thread/${workerName}_worker_thread'; +import workerUrl from 'fui-worker!./worker_thread/${workerName}_worker_thread'; export class ${WorkerName}WorkerHelper { private worker: ${WorkerName}MainThreadWorker; From 0bfa73dddc8b28e6258805cf8c4c2a60ea5b267d Mon Sep 17 00:00:00 2001 From: iapyang Date: Mon, 5 Sep 2022 19:51:08 +0800 Subject: [PATCH 2/3] =?UTF-8?q?chore:=20without=20jquery=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E4=B8=80=E4=BA=9Bruntime=E8=AF=AD=E6=B3=95=E7=BC=96=E8=AF=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webpack/attachments.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/webpack/attachments.js b/webpack/attachments.js index cf26e9d09..8c7424f14 100644 --- a/webpack/attachments.js +++ b/webpack/attachments.js @@ -7,8 +7,14 @@ 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 basicAttachmentMap = { - polyfill: sync(["src/core/0.foundation.js", "src/polyfill/**/*.js"]).concat(["@babel/polyfill", "es6-promise/auto"]), + polyfill: sync([ + "src/core/0.foundation.js", + "src/polyfill/**/*.js", + ...runtimePolyfill, + ]), core: sync([ "src/less/core/**/*.less", "src/less/theme/**/*.less", @@ -202,6 +208,7 @@ const fineuiProxy = [].concat( ); const fineuiWithoutJqueryAndPolyfillJs = [].concat( + runtimePolyfill, sync([ "src/core/0.foundation.js", lodashJs, From e91e55f70f415c2f62fb0e6137dc5be0adffa56b Mon Sep 17 00:00:00 2001 From: data Date: Tue, 6 Sep 2022 16:36:37 +0800 Subject: [PATCH 3/3] auto upgrade version to 2.0.20220906163624 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 55aff3c60..f2dffe84d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "fineui", - "version": "2.0.20220906151811", + "version": "2.0.20220906163624", "description": "fineui", "main": "dist/fineui_without_conflict.min.js", "types": "dist/lib/index.d.ts",