mirror of
https://github.com/cloudflare/vinext.git
synced 2026-05-09 08:25:34 +02:00
[PR #218] [CLOSED] fix: include package modules in commonjs transform #397
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#397
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/218
Author: @zebp
Created: 3/1/2026
Status: ❌ Closed
Base:
main← Head:zeb/cjs-dependencies📝 Commits (1)
f895eb4fix: include package modules in commonjs transform📊 Changes
1 file changed (+10 additions, -1 deletions)
View changed files
📝
packages/vinext/src/index.ts(+10 -1)📄 Description
Previously we only transformed CJS modules if they were part of the part of the project and not if they were in the project's dependencies. Now we will apply CJS to ESM transformations if the vite module id can be resolved to a node module.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.