标签: webpack webpack-dev-middleware
从readme of webpack-dev-middleware开始,有一个publicPath配置:
publicPath
publicPath: "/assets/", // public path to bind the middleware to // use the same as in webpack
但是我不确定为什么会有这样的配置,因为webpack.config.js
webpack.config.js
答案 0 :(得分:0)
我认为热模块更换需要知道加载热更新块的位置。