From 6bd76a697e99dcf30aa523ce7363e8618b171362 Mon Sep 17 00:00:00 2001 From: nancyzhan <1020449768@qq.com> Date: Mon, 18 Mar 2024 16:57:10 +0800 Subject: [PATCH 1/2] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8Dwin=E7=B3=BB?= =?UTF-8?q?=E7=BB=9F=EF=BC=8C=E9=9D=99=E6=80=81=E8=B5=84=E6=BA=90=E6=89=93?= =?UTF-8?q?=E5=8C=85=E4=B8=BA=E7=A9=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/build-umd.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/build-umd.js b/scripts/build-umd.js index 3d02a67..42e627c 100644 --- a/scripts/build-umd.js +++ b/scripts/build-umd.js @@ -6,6 +6,7 @@ const replace = require('@rollup/plugin-replace'); const { minify } = require('terser'); const { getRollupConfig, OUTPUT_DIR } = require('./build-shard'); +const SOURCE = path.join(__dirname, '../packages/traction-widget/components'); fse.mkdirsSync(OUTPUT_DIR); @@ -36,6 +37,7 @@ async function compiler () { path.join(OUTPUT_DIR, 'traction-widget.min.js'), compressResult.code ); + fse.copySync(path.join(SOURCE, 'assets'), path.join(OUTPUT_DIR, 'assets'), { overwrite: true }); } compiler(); From d7f96e033bea3dc08abb515351bdb753f6cab3cf Mon Sep 17 00:00:00 2001 From: nancyzhan <1020449768@qq.com> Date: Mon, 18 Mar 2024 16:59:48 +0800 Subject: [PATCH 2/2] =?UTF-8?q?upd:=20=E6=9B=B4=E6=96=B0=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E5=8F=B7=E8=87=B31.8.10?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- packages/traction-widget/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 8554f4e..631ce4d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@fesjs/traction-widget", - "version": "1.8.9", + "version": "1.8.10", "description": "集合大型中台项目使用到的通用组件和工具函数", "scripts": { "docs:dev": "npm run build && vitepress dev docs", diff --git a/packages/traction-widget/package.json b/packages/traction-widget/package.json index 5ea72f2..683225b 100644 --- a/packages/traction-widget/package.json +++ b/packages/traction-widget/package.json @@ -1,6 +1,6 @@ { "name": "@fesjs/traction-widget", - "version": "1.8.9", + "version": "1.8.10", "description": "集合大型中台项目使用到的通用组件和工具函数", "main": "dist/traction-widget.min.js", "module": "es/components/index.js",