Small tweak so that hot-reloading works.

The middleware server servers the bundle from memory
so it needs to know where to put it.
This commit is contained in:
Job Evers 2016-11-22 15:07:23 -06:00 committed by Alex Liebowitz
parent c32ab1ac65
commit 494168474f

View file

@ -9,6 +9,7 @@ module.exports = {
entry: "./js/main.js",
output: {
path: path.join(PATHS.dist, 'js'),
publicPath: '/js/',
filename: "bundle.js"
},
devtool: 'source-map',