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:
parent
a641925bf9
commit
100469025a
3 changed files with 26 additions and 29 deletions
|
@ -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: [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue