index 95d342b..cc06e96 100644 --- a/devServer.js +++ b/devServer.js @@ -15,7 +15,7 @@ app.use( webpackDevMiddleware( compiler, { publicPath: config.output.publicPath } ) ) -app.use( require( 'webpack-hot-middleware' )( compiler ) ) +//app.use( require( 'webpack-hot-middleware' )( compiler ) ) // if you need change container (host) name to the appropriate and do the same with the port below app.use( '/proxy', proxy( 'http://web:8000', { diff --git a/webpack.dev.config.js b/webpack.dev.config.js index 286ade6..4995076 100644 --- a/webpack.dev.config.js +++ b/webpack.dev.config.js @@ -8,7 +8,7 @@ module.exports = { entry: [ '@babel/polyfill', 'whatwg-fetch', - 'webpack-hot-middleware/client?path=http://localhost:3000/__webpack_hmr&reload=true', + //'webpack-hot-middleware/client?path=http://localhost:3000/__webpack_hmr&reload=true', './src/index' ], output: { @@ -17,7 +17,7 @@ module.exports = { publicPath: '/' }, plugins: [ - new webpack.HotModuleReplacementPlugin(), + //new webpack.HotModuleReplacementPlugin(), new webpack.NoEmitOnErrorsPlugin(), new webpack.ProvidePlugin( { Cookies: 'js-cookie'