mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
This adds the fallback webpack alias handling to handle a custom `_app` or `_document` being removed in development gracefully. ## Bug - [x] Related issues linked using `fixes #number` - [x] Integration tests added - [x] Errors have helpful link attached, see `contributing.md` Fixes: https://github.com/vercel/next.js/issues/27888
9 lines
150 B
JavaScript
9 lines
150 B
JavaScript
export default function MyApp({ Component, pageProps }) {
|
|
return (
|
|
<>
|
|
<p>custom _app</p>
|
|
<Component {...pageProps} />
|
|
</>
|
|
)
|
|
}
|