Merge pull request #840 from lbryio/refactor-build

Remove webpack-hot-middleware/client from prod
This commit is contained in:
Shawn K 2018-12-18 15:05:54 -06:00 committed by GitHub
commit 39bedba057
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,7 +17,7 @@ module.exports = (env, argv) => {
mode: isDev ? 'development' : 'production',
target: 'web',
entry : [
'webpack-hot-middleware/client',
...(isDev ? ['webpack-hot-middleware/client'] : []),
//'webpack/hot/dev-server',
'@babel/polyfill',
'whatwg-fetch',