Skip to content

Commit

Permalink
fix(webpack-config): change webpack dev config according to webpack-d…
Browse files Browse the repository at this point in the history
…ev-server latest update
  • Loading branch information
FlorentinTh committed Sep 9, 2021
1 parent 0f32695 commit 80089d5
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions webpack.dev.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* eslint-disable no-undef */
const { HotModuleReplacementPlugin } = require('webpack');
const { merge } = require('webpack-merge');

const common = require('./webpack.common.js');
Expand All @@ -13,7 +12,12 @@ module.exports = merge(common, {
open: true,
compress: false,
hot: true,
port: 8080
port: 8080,
client: {
progress: true,
logging: 'error',
overlay: true
}
},

module: {
Expand Down Expand Up @@ -42,6 +46,5 @@ module.exports = merge(common, {
},
stats: {
modules: false
},
plugins: [new HotModuleReplacementPlugin()]
}
});

0 comments on commit 80089d5

Please sign in to comment.