Skip to content

umi如何使用thread-loader进行多进程加速 #12231

Closed Answered by fz6m
dddssw asked this question in Q&A
Discussion options

You must be logged in to vote
  1. umi 3 不维护了,建议升级到 umi 4 。

  2. umi 4 是 webpack 5 ,在 webpack 5 的项目中,社区已经不再使用 thread loader ,webpack 5 搭配现代转译工具已经足够快,同时使用 thread loader 会对其他 loader 有很多的要求和限制,现在逐渐被淘汰了,不建议继续使用 thread loader 。

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@dddssw
Comment options

Answer selected by dddssw
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants