Skip to content

Conversation

@ijjk
Copy link
Member

@ijjk ijjk commented Aug 4, 2022

This ensures we gracefully handle URLPattern not being available when next/server is required e.g. during a build when analyzing pages.

19:17:10.114 | info  - Collecting page data...
19:17:10.114 | ReferenceError: URLPattern is not defined
19:17:10.114 | at Object.<anonymous> (/vercel/path0/node_modules/next/server.js:11:15)

Bug

  • Related issues linked using fixes #number
  • Integration tests added
  • Errors have helpful link attached, see contributing.md

@ijjk ijjk added created-by: Next.js team PRs by the Next.js team. type: next labels Aug 4, 2022
@ijjk ijjk marked this pull request as ready for review August 4, 2022 01:18
@ijjk ijjk merged commit de41597 into vercel:canary Aug 4, 2022
@ijjk ijjk deleted the fix/next-server-non-edge branch August 4, 2022 01:18
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 3, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant