Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[提问]: 文档构建耗时长的问题 #733

Open
alan032 opened this issue Oct 22, 2024 · 0 comments
Open

[提问]: 文档构建耗时长的问题 #733

alan032 opened this issue Oct 22, 2024 · 0 comments
Labels

Comments

@alan032
Copy link

alan032 commented Oct 22, 2024

问题描述

我现在工程下的文档(md文件)约有1200篇,且文章中有引用图片,相对路径/在线图片都有。目前文档在构建的时候(npm run build)耗时要将近40分钟。大部分耗时在render html 中。请问是否有能够进行优化的方案?能否对构建进行缓存,仅对发生变更的文档进行重新构建?

@alan032 alan032 added the 提问 label Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant