We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2dbcc63 commit c3a29e3Copy full SHA for c3a29e3
src/index.js
@@ -2,7 +2,7 @@
2
3
import appRootPath from "app-root-path"
4
import createDebug from "debug"
5
-import {omit, pick} from "lodash-es"
+import {omit} from "lodash-es"
6
import {readPackageSync} from "read-pkg"
7
8
import generateWebpackConfig from "./generateWebpackConfig.js"
@@ -79,7 +79,10 @@ const configure = options => {
79
normalize: true,
80
})
81
debug("Pkg data: %o", pkg)
82
- } catch {
+ } catch (error) {
83
+ debug("No package.json found: %s", error)
84
+ debug("options.packageRoot: %o", options.packageRoot)
85
+ debug("appRootPath: %o", String(appRootPath))
86
pkg = {}
87
}
88
const subPackages = options?.subPackages
0 commit comments