mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
Extracted from https://github.com/vercel/next.js/pull/95468. We did not have error handling around async module initialization. As a result, in `output: 'export'` mode, an error during async initialization were reported as unhandled rejections. Now it properly fails the build.