Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit beffe8a

Browse files
fix: allow disabling progress plugin via devServer.client.progress
1 parent 558dea2 commit beffe8a

File tree

1 file changed

+5
-1
lines changed
  • packages/@vue/cli-service/lib/commands

1 file changed

+5
-1
lines changed

‎packages/@vue/cli-service/lib/commands/serve.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,11 @@ module.exports = (api, options) => {
6262
.output
6363
.globalObject(`(typeof self !== 'undefined' ? self : this)`)
6464

65-
if (!process.env.VUE_CLI_TEST && options.devServer.progress !== false) {
65+
if (
66+
!process.env.VUE_CLI_TEST &&
67+
(!options.devServer.client ||
68+
options.devServer.client.progress !== false)
69+
) {
6670
// the default progress plugin won't show progress due to infrastructreLogging.level
6771
webpackConfig
6872
.plugin('progress')

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /