Skip to content

Commit

Permalink
fix: use @nuxt/friendly-error-webpack-plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillaume Chau committed Aug 12, 2019
1 parent 0631964 commit fe95e0c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 11 deletions.
2 changes: 1 addition & 1 deletion packages/@nodepack/service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"@nodepack/maintenance": "^0.3.2",
"@nodepack/module": "^0.3.1",
"@nodepack/utils": "^0.3.2",
"@nuxt/friendly-errors-webpack-plugin": "^2.5.0",
"@types/webpack-env": "^1.13.8",
"@zeit/webpack-asset-relocator-loader": "^0.1.12",
"cache-loader": "^2.0.1",
Expand All @@ -41,7 +42,6 @@
"cosmiconfig": "^5.2.1",
"dotenv": "^6.2.0",
"execa": "^1.0.0",
"friendly-errors-webpack-plugin": "^1.7.0",
"fs-extra": "^8.1.0",
"hash-sum": "^1.0.2",
"inquirer": "^6.3.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/@nodepack/service/src/config/dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ module.exports = (api, options) => {

config
.plugin('friendly-errors')
.use(require('friendly-errors-webpack-plugin'), [{
.use(require('@nuxt/friendly-errors-webpack-plugin'), [{
clearConsole: true,
}])
}
Expand Down
19 changes: 10 additions & 9 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1670,6 +1670,16 @@
execa "^0.10.0"
q "^1.5.1"

"@nuxt/friendly-errors-webpack-plugin@^2.5.0":
version "2.5.0"
resolved "https://registry.yarnpkg.com/@nuxt/friendly-errors-webpack-plugin/-/friendly-errors-webpack-plugin-2.5.0.tgz#5374665bc72d34b7dbadcc361a4777e3f0f5d46b"
integrity sha512-pUgPFmRL56/xuTCGN5rqgTfxvs1N/AYJw7q7tUHiZaBm3UyPgbIVPkadS9njwbFbPD2XcebVy7npQMMVwQJWfA==
dependencies:
chalk "^2.3.2"
consola "^2.6.0"
error-stack-parser "^2.0.0"
string-width "^2.0.0"

"@octokit/endpoint@^5.1.0":
version "5.3.2"
resolved "https://registry.yarnpkg.com/@octokit/endpoint/-/endpoint-5.3.2.tgz#2deda2d869cac9ba7f370287d55667be2a808d4b"
Expand Down Expand Up @@ -5506,15 +5516,6 @@ [email protected]:
resolved "https://registry.yarnpkg.com/fresh/-/fresh-0.5.2.tgz#3d8cadd90d976569fa835ab1f8e4b23a105605a7"
integrity sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac=

friendly-errors-webpack-plugin@^1.7.0:
version "1.7.0"
resolved "https://registry.yarnpkg.com/friendly-errors-webpack-plugin/-/friendly-errors-webpack-plugin-1.7.0.tgz#efc86cbb816224565861a1be7a9d84d0aafea136"
integrity sha512-K27M3VK30wVoOarP651zDmb93R9zF28usW4ocaK3mfQeIEI5BPht/EzZs5E8QLLwbLRJQMwscAjDxYPb1FuNiw==
dependencies:
chalk "^1.1.3"
error-stack-parser "^2.0.0"
string-width "^2.0.0"

from2@^2.1.0:
version "2.3.0"
resolved "https://registry.yarnpkg.com/from2/-/from2-2.3.0.tgz#8bfb5502bde4a4d36cfdeea007fcca21d7e382af"
Expand Down

0 comments on commit fe95e0c

Please sign in to comment.