mirror of
https://github.com/cloudflare/vinext.git
synced 2026-05-09 08:25:34 +02:00
[PR #595] [MERGED] fix: use page extensions for middleware files #698
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#698
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/595
Author: @james-elicx
Created: 3/19/2026
Status: ✅ Merged
Merged: 3/20/2026
Merged by: @james-elicx
Base:
main← Head:opencode/glowing-squid📝 Commits (2)
e6a5704fix: use page extensions for middleware filesfcc053fsame thing for instrumentation📊 Changes
6 files changed (+82 additions, -65 deletions)
View changed files
📝
packages/vinext/src/index.ts(+2 -2)📝
packages/vinext/src/server/instrumentation.ts(+12 -16)📝
packages/vinext/src/server/middleware.ts(+19 -36)📝
tests/features.test.ts(+4 -3)📝
tests/instrumentation.test.ts(+5 -4)📝
tests/shims.test.ts(+40 -4)📄 Description
middleware and proxy files should use next config page extensions where available, similar to routes.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.