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

UMD external type problem #596

Closed
lvisei opened this issue Mar 3, 2023 · 2 comments · Fixed by #634
Closed

UMD external type problem #596

lvisei opened this issue Mar 3, 2023 · 2 comments · Fixed by #634

Comments

@lvisei
Copy link

lvisei commented Mar 3, 2023

UMD external type problem

image

father/src/types.ts

Lines 181 to 185 in 4563346

/**
* external dependencies
* @note like umi externals
*/
externals?: Record<string, string>;

@ChenXplorer
Copy link

你好,请问你遇到了加上externals后,打包出来的产物,引用的时候 window上找不到的情况吗

@lvisei
Copy link
Author

lvisei commented Apr 19, 2023

你好,请问你遇到了加上externals后,打包出来的产物,引用的时候 window上找不到的情况吗

未出现这种情况

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

Successfully merging a pull request may close this issue.

3 participants