From the readme of webpack-dev-middleware, there is a publicPath
configuration:
publicPath: "/assets/",
// public path to bind the middleware to
// use the same as in webpack
But I'm not sure why there is such a configuration since there is already a same one in webpack.config.js