Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Branch joy #34

Merged
merged 3 commits into from
Mar 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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();
Loading