Skip to content

Commit 1c03c94

Browse files
authored
fix: fix umd build (#7)
1 parent 3b8305c commit 1c03c94

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

package.json

+3
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,9 @@
6969
"vuepress": "^1.8.2",
7070
"vuepress-plugin-typescript": "^0.3.1"
7171
},
72+
"resolutions": {
73+
"vue": "^2.6.14"
74+
},
7275
"repository": {
7376
"type": "git",
7477
"url": "git+https://github.com/formilyjs/antdv.git"

packages/components/builder.config.ts

+3
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,7 @@ export const BuilderConfig: IBuilderConfig = {
44
targetLibName: 'ant-design-vue',
55
targetLibCjsDir: 'lib',
66
targetLibEsDir: 'es',
7+
externals: {
8+
'ant-design-vue': 'Antd',
9+
},
710
}

0 commit comments

Comments
 (0)