rsnext/test/e2e/app-dir/global-error/next.config.js
Jiachi Liu 595ecdbfdc
feat: app dir error-global component (#44066)
## Feature

NEXT-54

When there's an error in the one of the root level pages, there's no way to handle it. The team discussed this and decided there should be a global error boundary to pick up anything not handled further down in the tree. It can be called `global-error.js`.

Co-authored-by: Tim Neutkens <6324199+timneutkens@users.noreply.github.com>
2022-12-16 11:04:43 +00:00

3 lines
55 B
JavaScript

module.exports = {
experimental: { appDir: true },
}