mirror of
https://github.com/cloudflare/vinext.git
synced 2026-05-09 08:25:34 +02:00
[PR #261] [MERGED] feat(routing): respect pageExtensions for app/pages route discovery #423
Labels
No labels
enhancement
enhancement
good first issue
help wanted
nextjs-tracking
nextjs-tracking
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vinext#423
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/cloudflare/vinext/pull/261
Author: @illegalcall
Created: 3/5/2026
Status: ✅ Merged
Merged: 3/6/2026
Merged by: @james-elicx
Base:
main← Head:support-pageextensions-mdx-251📝 Commits (2)
60f1ac4feat(routing): respect pageExtensions for app/pages route discoveryf73aa04fix(routing): normalize pageExtensions input, share ValidFileMatcher, fix static-export parity📊 Changes
10 files changed (+521 additions, -113 deletions)
View changed files
📝
packages/vinext/src/build/static-export.ts(+10 -8)📝
packages/vinext/src/config/next-config.ts(+8 -0)📝
packages/vinext/src/index.ts(+34 -26)📝
packages/vinext/src/routing/app-router.ts(+129 -49)➕
packages/vinext/src/routing/file-matcher.ts(+106 -0)📝
packages/vinext/src/routing/pages-router.ts(+54 -17)📝
packages/vinext/src/server/dev-server.ts(+16 -13)➕
tests/file-matcher.test.ts(+44 -0)➕
tests/page-extensions-routing.test.ts(+90 -0)📝
tests/shims.test.ts(+30 -0)📄 Description
feat(routing): respect pageExtensions for app/pages route discovery
Fixed: https://github.com/cloudflare/vinext/issues/251
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.