added webpack-dev-middleware for recompiling on source changes

This commit is contained in:
Danny Coates 2017-08-09 19:22:20 -07:00
parent 314ab237ec
commit 21b7f16b1e
No known key found for this signature in database
GPG key ID: 4C442633C62E00CB
4 changed files with 63 additions and 14 deletions

View file

@ -7,7 +7,8 @@ module.exports = {
},
output: {
filename: '[name].js',
path: path.resolve(__dirname, 'public')
path: path.resolve(__dirname, 'public'),
publicPath: '/'
},
module: {
loaders: [