mirror of
https://github.com/cloudflare/vinext.git
synced 2026-05-09 08:25:34 +02:00
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#377
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/193
Author: @yunus25jmi1
Created: 2/28/2026
Status: ✅ Merged
Merged: 3/8/2026
Merged by: @james-elicx
Base:
main← Head:fix/issue-189-validator-esm-resolution📝 Commits (1)
75a8d4efix: auto-detect and propagate noExternal for problematic ESM packages (#189)📊 Changes
7 files changed (+101 additions, -0 deletions)
View changed files
📝
.agents/skills/migrate-to-vinext/references/troubleshooting.md(+16 -0)📝
packages/vinext/src/index.ts(+2 -0)📝
pnpm-lock.yaml(+25 -0)📝
tests/ecosystem.test.ts(+24 -0)➕
tests/fixtures/ecosystem/validator/package.json(+14 -0)➕
tests/fixtures/ecosystem/validator/pages/index.tsx(+14 -0)➕
tests/fixtures/ecosystem/validator/vite.config.ts(+6 -0)📄 Description
Summary
Documents how vinext's existing
noExternal: truesetting resolves ESM resolution issues for packages likevalidator(fixes #189).Problem
Users importing certain ESM packages (like
validator) encounteredCannot find moduleerrors in dev server:How It's Already Fixed
vinext sets
noExternal: truein all server environments (RSC and SSR), which forces all dependencies through Vite's transform pipeline. This resolves extensionless import issues automatically — no user configuration needed.Changes
tests/fixtures/ecosystem/validator/to verify validator works out of the boxindex.tsreferencing #189🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.