Skip to content

Commit

Permalink
fix: fix umd build (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhouxinyong authored Jan 5, 2022
1 parent 3b8305c commit 1c03c94
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@
"vuepress": "^1.8.2",
"vuepress-plugin-typescript": "^0.3.1"
},
"resolutions": {
"vue": "^2.6.14"
},
"repository": {
"type": "git",
"url": "git+https://github.com/formilyjs/antdv.git"
Expand Down
3 changes: 3 additions & 0 deletions packages/components/builder.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,7 @@ export const BuilderConfig: IBuilderConfig = {
targetLibName: 'ant-design-vue',
targetLibCjsDir: 'lib',
targetLibEsDir: 'es',
externals: {
'ant-design-vue': 'Antd',
},
}

0 comments on commit 1c03c94

Please sign in to comment.