mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-06 13:03:11 +00:00
refactor: keep error logs in quiet mode
This commit is contained in:
parent
937dfe8183
commit
ba2b63e131
@ -191,7 +191,7 @@ Options.from = function (_options) {
|
||||
}
|
||||
|
||||
if (options.build.quiet === true) {
|
||||
consola.clear().add({log: () => {}})
|
||||
consola.level = 0
|
||||
}
|
||||
|
||||
if (options.build.stats === 'none' || options.build.quiet === true) {
|
||||
|
@ -82,7 +82,7 @@
|
||||
"chokidar": "^2.0.4",
|
||||
"compression": "^1.7.3",
|
||||
"connect": "^3.6.5",
|
||||
"consola": "^1.4.1",
|
||||
"consola": "^1.4.2",
|
||||
"css-loader": "^1.0.0",
|
||||
"cssnano": "^4.0.5",
|
||||
"debug": "^3.1.0",
|
||||
|
11
yarn.lock
11
yarn.lock
@ -2058,7 +2058,7 @@ connect@^3.6.5:
|
||||
parseurl "~1.3.2"
|
||||
utils-merge "1.0.1"
|
||||
|
||||
consola@^1.2.0, consola@^1.4.1:
|
||||
consola@^1.2.0:
|
||||
version "1.4.1"
|
||||
resolved "https://registry.yarnpkg.com/consola/-/consola-1.4.1.tgz#4b1c6259c8db23f51e7cfb68cd383ec5ee298f0e"
|
||||
dependencies:
|
||||
@ -2067,6 +2067,15 @@ consola@^1.2.0, consola@^1.4.1:
|
||||
lodash "^4.17.5"
|
||||
std-env "^1.1.0"
|
||||
|
||||
consola@^1.4.2:
|
||||
version "1.4.2"
|
||||
resolved "https://registry.yarnpkg.com/consola/-/consola-1.4.2.tgz#e61963325abbfded8c4b010da5896aad0b4c92fb"
|
||||
dependencies:
|
||||
chalk "^2.3.2"
|
||||
figures "^2.0.0"
|
||||
lodash "^4.17.5"
|
||||
std-env "^1.1.0"
|
||||
|
||||
console-browserify@^1.1.0:
|
||||
version "1.1.0"
|
||||
resolved "https://registry.yarnpkg.com/console-browserify/-/console-browserify-1.1.0.tgz#f0241c45730a9fc6323b206dbf38edc741d0bb10"
|
||||
|
Loading…
Reference in New Issue
Block a user