17d7e59339
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
8 lines
150 B
JavaScript
8 lines
150 B
JavaScript
export default function MyApp({ Component, pageProps }) {
|
|
return (
|
|
<>
|
|
<p>custom _app</p>
|
|
<Component {...pageProps} />
|
|
</>
|
|
)
|
|
}
|