Skip to content

Commit

Permalink
✨ feat: add umd build
Browse files Browse the repository at this point in the history
  • Loading branch information
eternallycyf committed May 5, 2024
1 parent e4d6bd1 commit be1cae9
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions .dumirc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ export default defineConfig({
}`,
style,
],
outputPath: 'docs-dist',
devtool: isProd ? false : 'source-map',
clickToComponent: {},
ignoreMomentLocale: true,
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ build/
server/
.dumi/


# Serverless generated files
.serverless/

Expand Down Expand Up @@ -92,6 +93,7 @@ $RECYCLE.BIN/
coverage
lib
es
docs-dist
gitmojis.json
/lerna-debug.log
tmp
3 changes: 2 additions & 1 deletion packages/bar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
"name": "@ims-view/bar",
"version": "1.3.0",
"main": "lib/index.js",
"unpkg": "dist/index.js",
"module": "es/index.js",
"types": "lib/index.d.ts",
"types": "es/index.d.ts",
"files": [
"lib",
"es",
Expand Down
3 changes: 2 additions & 1 deletion packages/foo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
"name": "@ims-view/foo",
"version": "1.4.0",
"main": "lib/index.js",
"unpkg": "dist/index.js",
"module": "es/index.js",
"types": "lib/index.d.ts",
"types": "es/index.d.ts",
"files": [
"lib",
"es",
Expand Down

0 comments on commit be1cae9

Please sign in to comment.