code: function setupHMR (webpackConfig, port) {
    return webpackConfig.map((webpack) => ({
      ...webpack,
      entry: concatHMRBundle(webpack.entry, port)
    }))
  }
docs: HMR bundle setup based on code from
  https://github.com/webpack/webpack-dev-server/blob/master/bin/webpack-dev-server.js