Skip to content

fix(app-dir): handle not-found pageExtensions manifest#94087

Open
bobu-putheeckal wants to merge 1 commit into
vercel:canaryfrom
bobu-putheeckal:codex/not-found-page-extensions
Open

fix(app-dir): handle not-found pageExtensions manifest#94087
bobu-putheeckal wants to merge 1 commit into
vercel:canaryfrom
bobu-putheeckal:codex/not-found-page-extensions

Conversation

@bobu-putheeckal
Copy link
Copy Markdown

Closes #65447

Summary

  • Treat compound app convention bundle paths like app/not-found.page as the not-found convention.
  • Add production coverage for pageExtensions with an app not-found route and verify the client reference manifest is emitted.

Testing

  • PATH=./node_modules/.bin:/Users/c543982/.npm/_npx/179a5fd3f63fede5/node_modules/.bin:$PATH scripts/run-jest.sh --mode=start --bundler=webpack --headless -- test/production/app-dir/not-found-page-extension/not-found-page-extension.test.ts
  • git diff --check
  • ./node_modules/.bin/prettier --check packages/next/src/build/webpack/plugins/flight-client-entry-plugin.ts test/production/app-dir/not-found-page-extension/not-found-page-extension.test.ts test/production/app-dir/not-found-page-extension/app/layout.page.js test/production/app-dir/not-found-page-extension/app/page.page.js test/production/app-dir/not-found-page-extension/app/not-found.page.js test/production/app-dir/not-found-page-extension/next.config.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error occurred prerendering page "/_not-found" with pageExtensions option

1 participant