Remove webpack-hot-middleware/client from prod
This commit is contained in:
parent
4c4f1d0e63
commit
b5067bbd71
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ module.exports = (env, argv) => {
|
||||||
mode: isDev ? 'development' : 'production',
|
mode: isDev ? 'development' : 'production',
|
||||||
target: 'web',
|
target: 'web',
|
||||||
entry : [
|
entry : [
|
||||||
'webpack-hot-middleware/client',
|
...(isDev ? ['webpack-hot-middleware/client'] : []),
|
||||||
//'webpack/hot/dev-server',
|
//'webpack/hot/dev-server',
|
||||||
'@babel/polyfill',
|
'@babel/polyfill',
|
||||||
'whatwg-fetch',
|
'whatwg-fetch',
|
||||||
|
|
Loading…
Reference in a new issue