mirror of
https://github.com/cloudflare/vinext.git
synced 2026-05-09 08:25:34 +02:00
[PR #573] [CLOSED] refactor: remove dead code identified by static analysis #680
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#680
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/573
Author: @Divkix
Created: 3/17/2026
Status: ❌ Closed
Base:
main← Head:refactor/remove-dead-code📝 Commits (2)
7766216refactor: remove dead code identified by static analysisd8fc66dtest: update snapshots to reflect removed dead code📊 Changes
7 files changed (+5 additions, -142 deletions)
View changed files
📝
packages/vinext/src/cloudflare/index.ts(+1 -1)📝
packages/vinext/src/entries/app-ssr-entry.ts(+0 -20)📝
packages/vinext/src/entries/pages-server-entry.ts(+0 -47)📝
packages/vinext/src/routing/file-matcher.ts(+2 -2)📝
packages/vinext/src/routing/utils.ts(+2 -2)📝
packages/vinext/src/shims/internal/utils.ts(+0 -3)📝
tests/__snapshots__/entry-templates.test.ts.snap(+0 -67)📄 Description
This PR removes dead code identified through comprehensive static analysis across the codebase.
Dead Code Removed
1. cloudflare/index.ts
2. entries/app-ssr-entry.ts
3. entries/pages-server-entry.ts
4. routing/file-matcher.ts
5. routing/utils.ts
6. shims/internal/utils.ts
Methodology
The dead code was identified by:
Impact
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.