From 95d499d156c88726457e8e99af8a7373fa9c59e9 Mon Sep 17 00:00:00 2001 From: data Date: Wed, 24 Aug 2022 17:56:14 +0800 Subject: [PATCH 1/3] auto upgrade version to 2.0.20220824175535 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index a376ba370..618409294 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "fineui", - "version": "2.0.20220824165610", + "version": "2.0.20220824175535", "description": "fineui", "main": "dist/fineui_without_conflict.min.js", "types": "dist/lib/index.d.ts", From 9d8ef216d6a59de2b9a946dfefc220cf53780715 Mon Sep 17 00:00:00 2001 From: iapyang Date: Thu, 25 Aug 2022 11:28:06 +0800 Subject: [PATCH 2/3] =?UTF-8?q?chore:=20=E4=BF=AE=E6=94=B9loader?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/webpack-fui-worker-plugin/worker-loader.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/plugins/webpack-fui-worker-plugin/worker-loader.js b/plugins/webpack-fui-worker-plugin/worker-loader.js index 556bb6056..23be31927 100644 --- a/plugins/webpack-fui-worker-plugin/worker-loader.js +++ b/plugins/webpack-fui-worker-plugin/worker-loader.js @@ -115,16 +115,18 @@ function loader() { null, // 插入代码的转译和压缩由主构建配置的 babel/ts loader 处理, 不需要 worker-worker 来处理 // 添加 @ts-nocheck 避免 ts-check 报错 + // 修复export const 下 const不会被转译的问题 `// @ts-nocheck const blob = new Blob([${JSON.stringify(compilation.assets[entry].source())}]); - export const workerUrl = window.URL.createObjectURL(blob); + const workerUrl = window.URL.createObjectURL(blob); + export default workerUrl; ` ) : callback( null, `// @ts-nocheck const servicePath = __webpack_public_path__ + ${JSON.stringify(entry)}; - export const workerUrl = servicePath; + export default servicePath; ` ) }); From 009e6d2424b662c9997c953d9bf84fa164615ae0 Mon Sep 17 00:00:00 2001 From: data Date: Thu, 25 Aug 2022 11:56:19 +0800 Subject: [PATCH 3/3] auto upgrade version to 2.0.20220825115604 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 618409294..e2a448481 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "fineui", - "version": "2.0.20220824175535", + "version": "2.0.20220825115604", "description": "fineui", "main": "dist/fineui_without_conflict.min.js", "types": "dist/lib/index.d.ts",