Update webpack 3.1.0 et al

This commit is contained in:
2017-07-09 07:28:28 -07:00
parent 949fa86c38
commit afbaf8fb2e
9 changed files with 268 additions and 197 deletions

View File

@@ -0,0 +1,7 @@
const hotMiddlewareScript = require('webpack-hot-middleware/client?noInfo=true&timeout=20000&reload=true');
hotMiddlewareScript.subscribe(event => {
if (event.action === 'reload') {
window.location.reload();
}
});