mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
fix recovering runtime error (#515)
This commit is contained in:
parent
78e21d0f74
commit
d1f8b1aef1
|
@ -40,7 +40,7 @@ export default async function createCompiler (dir, { dev = false, quiet = false
|
|||
|
||||
const errorDebugEntry = join('bundles', 'pages', '_error-debug.js')
|
||||
const errorDebugPath = join(nextPagesDir, '_error-debug.js')
|
||||
entry[errorDebugEntry] = errorDebugPath
|
||||
entry[errorDebugEntry] = defaultEntries.concat([errorDebugPath + '?entry'])
|
||||
|
||||
const nodeModulesDir = join(__dirname, '..', '..', '..', 'node_modules')
|
||||
|
||||
|
|
Loading…
Reference in a new issue