Skip to content

本地开发情况下Compiling时间非常长 #5030

Discussion options

You must be logged in to vote

本地开发慢是现状,原因是 LobeChat 现在的模块依赖比较多,且 next@14 仍然使用的 webpack 作为 bundler (众所周知 webpack 很慢)。

解法是升级到 next@15 并且开启 Turbopack ,简单测过编译速度能提升一倍左右: #4449 (comment)

等 antd 兼容 next@15 版本之后会做升级,届时开发速度应该就能提升不少了

Replies: 11 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by arvinxx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
5 participants
Converted from issue

This discussion was converted from issue #3915 on December 15, 2024 08:00.