We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a84fd08 commit ee7e203Copy full SHA for ee7e203
npm/react/plugins/next/findNextWebpackConfig.js
@@ -14,9 +14,9 @@ async function getNextWebpackConfig (config) {
14
// is not in the next-server folder anymore.
15
// @ts-ignore
16
loadConfig = require('next/dist/server/config').default
17
+ } else {
18
+ throw e
19
}
-
- throw e
20
21
const nextConfig = await loadConfig('development', config.projectRoot)
22
const nextWebpackConfig = await getNextJsBaseWebpackConfig(
0 commit comments