過長的Webpack compile,如何配置Babel去忽略 node_modules? #12386
Closed
peter-mattex
started this conversation in
General
Replies: 2 comments
-
找到類似的discussion了: #7378 |
Beta Was this translation helpful? Give feedback.
0 replies
-
umi 3 有一个 nodeModulesTransform 选项。 umi 3 不维护了,建议升级为 umi 4 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
現在build webpack的時候因為babel長期卡在node modules裡了,我查了解決方法好像是配置 babel loader把node_modules給exclude掉,但在Umi 裡找不到關於babel loader的config。請問如何配置 babel loader或有甚麼方法改善?
Umi version: 3
Beta Was this translation helpful? Give feedback.
All reactions