Skip to content

[email protected]中支持配置webpack中的cache.cacheDirectory吗? #12122

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

You must be logged in to vote

umi 3 不维护了,建议升级到 umi 4 。

配这个选项对大部分开发的场景没什么用,持久化缓存只对第二次构建才生效,一般这个持久化缓存多用于在云构建环境里由基础设施缓存上一次的 webpack 缓存,并在下一次构建开始时自动恢复缓存到指定位置,并精确的指定失效的依赖条件有哪些,通常情况下用不到。

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by lxow456
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants