Skip to content

Commit

Permalink
chore: fix umd path
Browse files Browse the repository at this point in the history
  • Loading branch information
lvisei committed Nov 13, 2024
1 parent d69dc92 commit df16ce3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 1 addition & 4 deletions .fatherrc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,7 @@ export default defineConfig({
// https://github.com/umijs/father/blob/master/docs/config.md#umd
umd: {
name: 'GPTVis',
output: {
path: './dist/umd',
filename: 'index.js',
},
output: 'dist/umd',
platform: 'browser',
externals: {
lodash: '_',
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"typings": "dist/esm/index.d.ts",
"jsdelivr": "dist/umd/index.min.js",
"unpkg": "dist/umd/index.min.js",
"files": [
"dist",
"README.md",
Expand Down Expand Up @@ -118,7 +120,7 @@
},
"limit-size": [
{
"path": "dist/umd/index.js",
"path": "dist/umd/index.min.js",
"limit": "5 Mb"
}
],
Expand Down

0 comments on commit df16ce3

Please sign in to comment.