File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ module.exports = function(argv, cwd) {
64
64
65
65
runtimeConfig . context = argv . context ;
66
66
if ( typeof runtimeConfig . context === 'undefined' ) {
67
- const packagesPath = pkgUp . sync ( cwd ) ;
67
+ const packagesPath = pkgUp . sync ( { cwd } ) ;
68
68
69
69
if ( null === packagesPath ) {
70
70
throw new Error ( 'Cannot determine webpack context. (Are you executing webpack from a directory outside of your project?). Try passing the --context option.' ) ;
Original file line number Diff line number Diff line change 39
39
"loader-utils" : " ^2.0.0" ,
40
40
"mini-css-extract-plugin" : " >=0.4.0 <0.4.3" ,
41
41
"optimize-css-assets-webpack-plugin" : " ^5.0.1" ,
42
- "pkg-up" : " ^1.0 .0" ,
42
+ "pkg-up" : " ^3.1 .0" ,
43
43
"pretty-error" : " ^2.1.1" ,
44
44
"resolve-url-loader" : " ^3.0.1" ,
45
45
"semver" : " ^5.5.0" ,
Original file line number Diff line number Diff line change @@ -6262,20 +6262,20 @@ pkg-dir@^3.0.0:
6262
6262
dependencies :
6263
6263
find-up "^3.0.0"
6264
6264
6265
- pkg-up@^1.0.0 :
6266
- version "1.0.0"
6267
- resolved "https://registry.yarnpkg.com/pkg-up/-/pkg-up-1.0.0.tgz#3e08fb461525c4421624a33b9f7e6d0af5b05a26"
6268
- integrity sha1-Pgj7RhUlxEIWJKM7n35tCvWwWiY=
6269
- dependencies :
6270
- find-up "^1.0.0"
6271
-
6272
6265
pkg-up@^2.0.0 :
6273
6266
version "2.0.0"
6274
6267
resolved "https://registry.yarnpkg.com/pkg-up/-/pkg-up-2.0.0.tgz#c819ac728059a461cab1c3889a2be3c49a004d7f"
6275
6268
integrity sha1-yBmscoBZpGHKscOImivjxJoATX8=
6276
6269
dependencies :
6277
6270
find-up "^2.1.0"
6278
6271
6272
+ pkg-up@^3.1.0 :
6273
+ version "3.1.0"
6274
+ resolved "https://registry.yarnpkg.com/pkg-up/-/pkg-up-3.1.0.tgz#100ec235cc150e4fd42519412596a28512a0def5"
6275
+ integrity sha512-nDywThFk1i4BQK4twPQ6TA4RT8bDY96yeuCVBWL3ePARCiEKDRSrNGbFIgUJpLp+XeIR65v8ra7WuJOFUBtkMA==
6276
+ dependencies :
6277
+ find-up "^3.0.0"
6278
+
6279
6279
pn@^1.1.0 :
6280
6280
version "1.1.0"
6281
6281
resolved "https://registry.yarnpkg.com/pn/-/pn-1.1.0.tgz#e2f4cef0e219f463c179ab37463e4e1ecdccbafb"
You can’t perform that action at this time.
0 commit comments