mirror of
https://github.com/cloudflare/vinext.git
synced 2026-05-09 08:25:34 +02:00
[PR #522] [MERGED] fix: add missing .js alias variants for next/config and next/amp #642
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#642
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/522
Author: @NathanDrake2406
Created: 3/13/2026
Status: ✅ Merged
Merged: 3/13/2026
Merged by: @james-elicx
Base:
main← Head:fix/missing-js-aliases📝 Commits (1)
de89ad1fix: add missing .js alias variants for next/config and next/amp (#521)📊 Changes
2 files changed (+41 additions, -0 deletions)
View changed files
📝
packages/vinext/src/index.ts(+2 -0)📝
tests/shims.test.ts(+39 -0)📄 Description
Closes #521
Summary
next/config.jsandnext/amp.jsalias entries to the shim mapnext/*entrypoint already had bothnext/<name>andnext/<name>.jsvariants — these two were the only ones missing.jsextension (e.g.,nuqsimportsnext/navigation.js) would fail to resolve forconfigandampTest plan
next/*aliases have a.jsvariant, so future additions can't miss itnext/configandnext/ampas missing)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.