fix: progress not accurate due to extra logs

This commit is contained in:
Clark Du 2018-03-20 15:25:06 +08:00
parent 774c8d2923
commit 027d204a13
No known key found for this signature in database
GPG Key ID: D0E5986AF78B86D9
3 changed files with 25 additions and 5 deletions

View File

@ -154,7 +154,10 @@ export default function webpackBaseConfig({ name, isServer }) {
// Add friendly error plugin // Add friendly error plugin
config.plugins.push( config.plugins.push(
new FriendlyErrorsWebpackPlugin({ clearConsole: shouldClearConsole }) new FriendlyErrorsWebpackPlugin({
clearConsole: shouldClearConsole,
logLevel: 'WARNING'
})
) )
// CSS extraction // CSS extraction

View File

@ -55,7 +55,7 @@
"npm": ">=5.0.0" "npm": ">=5.0.0"
}, },
"dependencies": { "dependencies": {
"@nuxtjs/friendly-errors-webpack-plugin": "^2.0.0", "@nuxtjs/friendly-errors-webpack-plugin": "^2.0.2",
"@nuxtjs/youch": "^4.2.3", "@nuxtjs/youch": "^4.2.3",
"ansi-html": "^0.0.7", "ansi-html": "^0.0.7",
"autoprefixer": "^8.1.0", "autoprefixer": "^8.1.0",

View File

@ -91,9 +91,9 @@
dependencies: dependencies:
cross-spawn "^5.1.0" cross-spawn "^5.1.0"
"@nuxtjs/friendly-errors-webpack-plugin@^2.0.0": "@nuxtjs/friendly-errors-webpack-plugin@^2.0.2":
version "2.0.0" version "2.0.2"
resolved "https://registry.yarnpkg.com/@nuxtjs/friendly-errors-webpack-plugin/-/friendly-errors-webpack-plugin-2.0.0.tgz#70fb321c78362e2b4bce1d522ecdf7f87a4dacec" resolved "https://registry.yarnpkg.com/@nuxtjs/friendly-errors-webpack-plugin/-/friendly-errors-webpack-plugin-2.0.2.tgz#80fd4c4276e87c09a9157a6f433724235eaaaf6e"
dependencies: dependencies:
chalk "^2.3.2" chalk "^2.3.2"
error-stack-parser "^2.0.0" error-stack-parser "^2.0.0"
@ -2445,6 +2445,12 @@ eslint-plugin-standard@^3.0.1:
version "3.0.1" version "3.0.1"
resolved "https://registry.yarnpkg.com/eslint-plugin-standard/-/eslint-plugin-standard-3.0.1.tgz#34d0c915b45edc6f010393c7eef3823b08565cf2" resolved "https://registry.yarnpkg.com/eslint-plugin-standard/-/eslint-plugin-standard-3.0.1.tgz#34d0c915b45edc6f010393c7eef3823b08565cf2"
eslint-plugin-vue@^4.3.0:
version "4.3.0"
resolved "https://registry.yarnpkg.com/eslint-plugin-vue/-/eslint-plugin-vue-4.3.0.tgz#478c6267269dbaa20f6e8b2cfae7a0ccc98c1d72"
dependencies:
vue-eslint-parser "^2.0.3"
eslint-scope@^3.7.1, eslint-scope@~3.7.1: eslint-scope@^3.7.1, eslint-scope@~3.7.1:
version "3.7.1" version "3.7.1"
resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-3.7.1.tgz#3d63c3edfda02e06e01a452ad88caacc7cdcb6e8" resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-3.7.1.tgz#3d63c3edfda02e06e01a452ad88caacc7cdcb6e8"
@ -7395,6 +7401,17 @@ vm-browserify@0.0.4:
dependencies: dependencies:
indexof "0.0.1" indexof "0.0.1"
vue-eslint-parser@^2.0.3:
version "2.0.3"
resolved "https://registry.yarnpkg.com/vue-eslint-parser/-/vue-eslint-parser-2.0.3.tgz#c268c96c6d94cfe3d938a5f7593959b0ca3360d1"
dependencies:
debug "^3.1.0"
eslint-scope "^3.7.1"
eslint-visitor-keys "^1.0.0"
espree "^3.5.2"
esquery "^1.0.0"
lodash "^4.17.4"
vue-hot-reload-api@^2.2.0: vue-hot-reload-api@^2.2.0:
version "2.3.0" version "2.3.0"
resolved "https://registry.yarnpkg.com/vue-hot-reload-api/-/vue-hot-reload-api-2.3.0.tgz#97976142405d13d8efae154749e88c4e358cf926" resolved "https://registry.yarnpkg.com/vue-hot-reload-api/-/vue-hot-reload-api-2.3.0.tgz#97976142405d13d8efae154749e88c4e358cf926"