chore: update webpack-dev-middleware to ^4.0.4 [release] (#8640)

* chore: update webpack-dev-middleware to ^4.0.4

* fix(build): disable webpack-dev-middle stats printing

* use stats options

* use stats none

Co-authored-by: Pooya Parsa <pyapar@gmail.com>
This commit is contained in:
Xin Du (Clark) 2021-01-14 08:57:48 +00:00 committed by GitHub
parent 9ec5d5b8e8
commit 14f741d492
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 8 deletions

View File

@ -48,7 +48,7 @@
"vue-template-compiler": "^2.6.12", "vue-template-compiler": "^2.6.12",
"webpack": "^4.46.0", "webpack": "^4.46.0",
"webpack-bundle-analyzer": "^3.9.0", "webpack-bundle-analyzer": "^3.9.0",
"webpack-dev-middleware": "4.0.2", "webpack-dev-middleware": "^4.0.4",
"webpack-hot-middleware": "^2.25.0", "webpack-hot-middleware": "^2.25.0",
"webpack-node-externals": "^2.5.2", "webpack-node-externals": "^2.5.2",
"webpackbar": "^4.0.0" "webpackbar": "^4.0.0"

View File

@ -525,6 +525,8 @@ export default class WebpackBaseConfig {
rules: this.rules() rules: this.rules()
}, },
plugins: this.plugins(), plugins: this.plugins(),
// stats will be printed by webapckbar StateReporter
stats: 'none',
...this.resolve() ...this.resolve()
} }

View File

@ -13,7 +13,6 @@
"postcss-url", "postcss-url",
"css-loader", "css-loader",
"terser-webpack-plugin", "terser-webpack-plugin",
"webpack-dev-middleware",
"@types/terser-webpack-plugin" "@types/terser-webpack-plugin"
], ],
"lockFileMaintenance": { "lockFileMaintenance": {

View File

@ -8931,7 +8931,7 @@ mime-db@1.45.0, "mime-db@>= 1.43.0 < 2":
resolved "https://registry.npmjs.org/mime-db/-/mime-db-1.45.0.tgz#cceeda21ccd7c3a745eba2decd55d4b73e7879ea" resolved "https://registry.npmjs.org/mime-db/-/mime-db-1.45.0.tgz#cceeda21ccd7c3a745eba2decd55d4b73e7879ea"
integrity sha512-CkqLUxUk15hofLoLyljJSrukZi8mAtgd+yE5uO4tqRZsdsAJKv0O+rFMhVDRJgozy+yG6md5KwuXhD4ocIoP+w== integrity sha512-CkqLUxUk15hofLoLyljJSrukZi8mAtgd+yE5uO4tqRZsdsAJKv0O+rFMhVDRJgozy+yG6md5KwuXhD4ocIoP+w==
mime-types@^2.1.12, mime-types@^2.1.19, mime-types@^2.1.27, mime-types@~2.1.19, mime-types@~2.1.24: mime-types@^2.1.12, mime-types@^2.1.19, mime-types@^2.1.27, mime-types@^2.1.28, mime-types@~2.1.19, mime-types@~2.1.24:
version "2.1.28" version "2.1.28"
resolved "https://registry.npmjs.org/mime-types/-/mime-types-2.1.28.tgz#1160c4757eab2c5363888e005273ecf79d2a0ecd" resolved "https://registry.npmjs.org/mime-types/-/mime-types-2.1.28.tgz#1160c4757eab2c5363888e005273ecf79d2a0ecd"
integrity sha512-0TO2yJ5YHYr7M2zzT7gDU1tbwHxEUWBCLt0lscSNpcdAfFyJOVEpRYNS7EXVcTLNj/25QO8gulHC5JtTzSE2UQ== integrity sha512-0TO2yJ5YHYr7M2zzT7gDU1tbwHxEUWBCLt0lscSNpcdAfFyJOVEpRYNS7EXVcTLNj/25QO8gulHC5JtTzSE2UQ==
@ -13531,14 +13531,15 @@ webpack-bundle-analyzer@^3.9.0:
opener "^1.5.1" opener "^1.5.1"
ws "^6.0.0" ws "^6.0.0"
webpack-dev-middleware@4.0.2: webpack-dev-middleware@^4.0.4:
version "4.0.2" version "4.0.4"
resolved "https://registry.npmjs.org/webpack-dev-middleware/-/webpack-dev-middleware-4.0.2.tgz#1436ae6cacee78475bd6bc1fbf063dfbfd6e577d" resolved "https://registry.npmjs.org/webpack-dev-middleware/-/webpack-dev-middleware-4.0.4.tgz#ebe1e4ad2cca8d33389f89b25d2b7ef7d621bc3f"
integrity sha512-xyAICqIugWtT1RRH5aMMmZlPhDhEqPTDL0TWhmMZsuZ+cFlAvRxv4thCbuxdk9MW+OYK4c9BkfmgdQ1/7imkJA== integrity sha512-6dKe7cufta6TXUwcQqFJNDoGtS3ZdlfQstPJM22V5aNT8qTVd2bWwfEC62vOQOh19eazLDczU+82FgxLHYCmlQ==
dependencies: dependencies:
colorette "^1.2.1"
mem "^8.0.0" mem "^8.0.0"
memfs "^3.2.0" memfs "^3.2.0"
mime-types "^2.1.27" mime-types "^2.1.28"
range-parser "^1.2.1" range-parser "^1.2.1"
schema-utils "^3.0.0" schema-utils "^3.0.0"