1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-09-15 18:57:05 +00:00

Update webpack dev server config & webpack-cli package

This commit is contained in:
Jeremy Benoist 2022-01-05 16:40:08 +01:00
parent a641925bf9
commit 100469025a
No known key found for this signature in database
GPG key ID: BCA73962457ACC3C
3 changed files with 26 additions and 29 deletions

View file

@ -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: [