umi如何使用thread-loader进行多进程加速
#12231
-
我的配置是这样的,我不知道是否有错误,但打包时间更慢了
|
Beta Was this translation helpful? Give feedback.
Answered by
fz6m
Mar 26, 2024
Replies: 1 comment 1 reply
-
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
dddssw
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
umi 3 不维护了,建议升级到 umi 4 。
umi 4 是 webpack 5 ,在 webpack 5 的项目中,社区已经不再使用 thread loader ,webpack 5 搭配现代转译工具已经足够快,同时使用 thread loader 会对其他 loader 有很多的要求和限制,现在逐渐被淘汰了,不建议继续使用 thread loader 。