Commit 268a2e99 authored by Sascha Herzinger's avatar Sascha Herzinger
Browse files

Enabled hot reload for webpack

parent 7a45b974
......@@ -25,6 +25,7 @@ module.exports = {
devServer: {
hot: true,
inline: true,
publicPath: 'http://localhost:8080/'
},
plugins: plugins,
output: {
......@@ -32,6 +33,9 @@ module.exports = {
library: library,
libraryTarget: 'var',
filename: filename,
publicPath: 'http://localhost:8080/',
hotUpdateChunkFilename: 'hot/hot-update.js',
hotUpdateMainFilename: 'hot/hot-update.json'
},
module: {
rules: [
......@@ -60,7 +64,7 @@ module.exports = {
test: /\.css$/,
loader: 'css-loader',
include: [
path.resolve(__dirname, 'src', 'assets'),
path.resolve(__dirname, 'src', 'assets')
]
}
]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment