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

不知道为什么打包后会有引入node_modules/antd/es/index.js的代码 #627

Open
wufeng87 opened this issue Feb 6, 2023 · 1 comment

Comments

@wufeng87
Copy link

wufeng87 commented Feb 6, 2023

image

image

B = (a("./node_modules/antd/es/index.js"),
es目录下的代码应该是用来做按需加载的,可是我不知道为啥我的很多模块里出现了这行引入代码,导致程序初始就依赖了较大的antd/es/index.js,按需加载没用好。
可能和我升级到了babel7有关系吗?
麻烦帮忙看看了,谢谢。

@wufeng87
Copy link
Author

wufeng87 commented Feb 6, 2023

或者能否教下怎么调试这个插件了?我这用debug npm script调试也不太稳定,有时候就直接断不下来

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