Skip to content

Commit da38747

Browse files
committed
feat: allow disabling serve progress via devServer.progress
close #1284
1 parent 8fbbd35 commit da38747

File tree

1 file changed

+2
-2
lines changed
  • packages/@vue/cli-service/lib/config

1 file changed

+2
-2
lines changed

packages/@vue/cli-service/lib/config/dev.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module.exports = api => {
1+
module.exports = (api, options) => {
22
api.chainWebpack(webpackConfig => {
33
if (process.env.NODE_ENV === 'development') {
44
webpackConfig
@@ -21,7 +21,7 @@ module.exports = api => {
2121
.plugin('no-emit-on-errors')
2222
.use(require('webpack/lib/NoEmitOnErrorsPlugin'))
2323

24-
if (!process.env.VUE_CLI_TEST) {
24+
if (!process.env.VUE_CLI_TEST && options.devServer.progress !== false) {
2525
webpackConfig
2626
.plugin('progress')
2727
.use(require('webpack/lib/ProgressPlugin'))

0 commit comments

Comments
 (0)