Reproduce nextjs-95799-async-route-init-errors from its authentic engineer request.
Reproduce nextjs-95799-async-route-init-errors from its authentic engineer request.: a task in nextjs-selfbench (Harbor dataset). Preserve errors thrown during asynchronous route-module initialization. In projects using output: 'export' , an invalid async route module currently reports its…
The task
Preserve errors thrown during asynchronous route-module initialization. In projects using `output: 'export'`, an invalid async route module currently reports its initialization failure as an unhandled rejection instead of failing the build. Make the build report failure with a nonzero exit status. Valid async route…
Part of dari-ai/nextjs-selfbench.