Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug Report] @formily/elementw使用umd的全量包报错,Element undefined #4210

Open
1 task
ksh033 opened this issue Sep 4, 2024 · 0 comments
Open
1 task

Comments

@ksh033
Copy link

ksh033 commented Sep 4, 2024

  • I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

Edit on CodeSandbox

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant