formily
formily copied to clipboard
[Bug Report] @formily/elementw使用umd的全量包报错,Element undefined
- [ ] I have searched the issues of this repository and believe that this is not a duplicate.
Reproduction link
Steps to reproduce
引入formily.element.umd.production.js
What is expected?
正常是不会报错
What is actually happening?
Element null
Package
@formily/[email protected]
const externals = {
'element-ui': 'Element',
},应该替换成ELEMENT因为ElementUI 的umd包,生明的是ELEMENT