Webpack HMR
2022-05-16 20:10:50 0 举报
HMR + webpack-dev-server 更新流程
作者其他创作
大纲/内容
webpack-dev-serverclient
9
7
Module Update
HMR 失败
JsonpMainTemplate.runtime
5
check()
compile
webpack
Server
3
File/module发生改变
AJAX
1
watch
hotApply()
sockjs
webpack/hot/dev-server
Live Reload
8
new Code
2
Client
webpack-dev-middleware
6
emit()
4
Brower Reload
webpack-dev-server
JSONP
HotModuleReplacement.runtime
收藏
0 条评论
下一页