forked from wallabag/wallabag
Update webpack dev server config & webpack-cli package
This commit is contained in:
@ -10,14 +10,12 @@ module.exports = merge(commonConfig, {
|
||||
},
|
||||
mode: 'development',
|
||||
devServer: {
|
||||
hot: true,
|
||||
// enable HMR on the server
|
||||
contentBase: './web',
|
||||
// match the output path
|
||||
static: {
|
||||
directory: './web',
|
||||
},
|
||||
},
|
||||
plugins: [
|
||||
new ESLintPlugin(),
|
||||
new webpack.HotModuleReplacementPlugin(),
|
||||
],
|
||||
module: {
|
||||
rules: [
|
||||
|
||||
Reference in New Issue
Block a user