mirror of
https://github.com/cloudflare/vinext.git
synced 2026-05-09 08:25:34 +02:00
[PR #43] [CLOSED] fix(windows): use file:// URLs for absolute path imports #264
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#264
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/43
Author: @liuxiaopai-ai
Created: 2/25/2026
Status: ❌ Closed
Base:
main← Head:fix/issue-23-windows📝 Commits (1)
1fcca37fix: use file URLs for dynamic imports on Windows (#23)📊 Changes
6 files changed (+114 additions, -17 deletions)
View changed files
📝
.github/workflows/ci.yml(+17 -0)📝
packages/vinext/src/cli.ts(+2 -1)📝
packages/vinext/src/index.ts(+12 -7)➕
packages/vinext/src/utils/import-path.ts(+32 -0)➕
tests/import-path.test.ts(+37 -0)📝
tests/pages-router.test.ts(+14 -9)📄 Description
Addresses #23.\n\n- Use pathToFileURL for Windows drive-letter absolute paths during dynamic import/module loading\n- Add unit tests for path conversion\n- Add windows-latest CI job (lint/typecheck/unit) to prevent regressions
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.