ParkeTgo

Untitled

Jan 31st, 2019
278
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.16 KB | None | 0 0
  1. index 95d342b..cc06e96 100644
  2. --- a/devServer.js
  3. +++ b/devServer.js
  4. @@ -15,7 +15,7 @@ app.use( webpackDevMiddleware( compiler, {
  5. publicPath: config.output.publicPath
  6. } ) )
  7.  
  8. -app.use( require( 'webpack-hot-middleware' )( compiler ) )
  9. +//app.use( require( 'webpack-hot-middleware' )( compiler ) )
  10.  
  11. // if you need change container (host) name to the appropriate and do the same with the port below
  12. app.use( '/proxy', proxy( 'http://web:8000', {
  13. diff --git a/webpack.dev.config.js b/webpack.dev.config.js
  14. index 286ade6..4995076 100644
  15. --- a/webpack.dev.config.js
  16. +++ b/webpack.dev.config.js
  17. @@ -8,7 +8,7 @@ module.exports = {
  18. entry: [
  19. '@babel/polyfill',
  20. 'whatwg-fetch',
  21. - 'webpack-hot-middleware/client?path=http://localhost:3000/__webpack_hmr&reload=true',
  22. + //'webpack-hot-middleware/client?path=http://localhost:3000/__webpack_hmr&reload=true',
  23. './src/index'
  24. ],
  25. output: {
  26. @@ -17,7 +17,7 @@ module.exports = {
  27. publicPath: '/'
  28. },
  29. plugins: [
  30. - new webpack.HotModuleReplacementPlugin(),
  31. + //new webpack.HotModuleReplacementPlugin(),
  32. new webpack.NoEmitOnErrorsPlugin(),
  33. new webpack.ProvidePlugin( {
  34. Cookies: 'js-cookie'
Advertisement
Add Comment
Please, Sign In to add comment