mirror of https://github.com/ElemeFE/element
chore: Add hmr (#15221)
parent
42c2e2371d
commit
865229e457
|
@ -33,7 +33,8 @@ const webpackConfig = {
|
|||
devServer: {
|
||||
host: '0.0.0.0',
|
||||
port: 8085,
|
||||
publicPath: '/'
|
||||
publicPath: '/',
|
||||
hot: true
|
||||
},
|
||||
performance: {
|
||||
hints: false
|
||||
|
@ -100,6 +101,7 @@ const webpackConfig = {
|
|||
]
|
||||
},
|
||||
plugins: [
|
||||
new webpack.HotModuleReplacementPlugin(),
|
||||
new HtmlWebpackPlugin({
|
||||
template: './examples/index.tpl',
|
||||
filename: './index.html',
|
||||
|
|
Loading…
Reference in New Issue