热更新时间过长大于10秒,调试时代码变的编译过 #6338
Unanswered
k983551019
asked this question in
Q&A
Replies: 2 comments
-
config 里写了下面的配置 , 注释掉提升了速度, 但是下面的代码会影响到热更新吗
|
Beta Was this translation helpful? Give feedback.
0 replies
-
根据图片上边可以看到92%时显示chunk assets optimization,这一般是压缩js和css代码阶段才会出现,可以看下是否是因为在开发环境开启了代码压缩,一般只会在生产才开启js和css的压缩。 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
热更新到 92%后就会停留很长时间
时间大于10s
还有使用debugger时 调试的代码变成了,我怀疑就是这个原因变慢的。但是不知道在哪里设置
Beta Was this translation helpful? Give feedback.
All reactions