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:
parent
c32ab1ac65
commit
494168474f
1 changed files with 1 additions and 0 deletions
|
@ -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',
|
||||
|
|
Loading…
Reference in a new issue