Skip to content

Commit

Permalink
Merge pull request #34 from WeBankFinTech/branch_joy
Browse files Browse the repository at this point in the history
Branch joy
  • Loading branch information
mayinrain authored Mar 18, 2024
2 parents ec31ae7 + d7f96e0 commit 68ce481
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/traction-widget/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 2 additions & 0 deletions scripts/build-umd.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down Expand Up @@ -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();

0 comments on commit 68ce481

Please sign in to comment.