|
@@ -33,7 +33,8 @@ const webpackConfig = {
|
|
devServer: {
|
|
devServer: {
|
|
host: '0.0.0.0',
|
|
host: '0.0.0.0',
|
|
port: 8085,
|
|
port: 8085,
|
|
- publicPath: '/'
|
|
|
|
|
|
+ publicPath: '/',
|
|
|
|
+ hot: true
|
|
},
|
|
},
|
|
performance: {
|
|
performance: {
|
|
hints: false
|
|
hints: false
|
|
@@ -100,6 +101,7 @@ const webpackConfig = {
|
|
]
|
|
]
|
|
},
|
|
},
|
|
plugins: [
|
|
plugins: [
|
|
|
|
+ new webpack.HotModuleReplacementPlugin(),
|
|
new HtmlWebpackPlugin({
|
|
new HtmlWebpackPlugin({
|
|
template: './examples/index.tpl',
|
|
template: './examples/index.tpl',
|
|
filename: './index.html',
|
|
filename: './index.html',
|