Skip to content

bug: utoo 编译控制台报错 && 耗时很久 #2330

@BrightStarrySky

Description

@BrightStarrySky

Version

2.4.27

OS Version

windows11

Node.js Version

24.11.1

Browser Version

chrome 148

Link to minimal reproduction

https://github.com/BrightStarrySky/dumi-compiler-tsx-demo.git

Steps to reproduce

升级dumi 版本到2.4.27稳定出现, 启动服务后,浏览器打开地址(此时应该没有编译完,因为编译了很久并且没有日志和进度提示)

What is expected?

消除错误正确启动, 编译速度应该比webpack 快很多才对

What is actually happening?

启动server 编译报错
Image
最终结果
demo 中启动server 耗时
Image

增加很多文件后
Image

额外开启 mfsu后

Image

但是耗时时间比 使用webpack 开启 mfsu 速度还要慢很多,并且也无法支持 react-compiler优化,且编译时间随项目文件增多进一步增加

在2.4.27版本使用webpack 以及 mfsu 后 , mfsu 貌似失效了,回退dumi版本后正常

Any additional comments? (optional)

No response

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions