[PR #37] [MERGED] fix: load next.config with runnerImport #257

Closed
opened 2026-05-06 12:38:49 +02:00 by BreizhHardware · 0 comments

📋 Pull Request Information

Original PR: https://github.com/cloudflare/vinext/pull/37
Author: @hyoban
Created: 2/25/2026
Status: Merged
Merged: 3/8/2026
Merged by: @james-elicx

Base: mainHead: 2-25-load-ts-with-runner


📝 Commits (6)

  • 8b39f17 fix: load next.config with runnerImport
  • c11d7bc update comment
  • cc0b93e Merge branch 'cloudflare:main' into 2-25-load-ts-with-runner
  • 781062f update
  • cf4276d Merge branch 'main' into 2-25-load-ts-with-runner
  • 4822309 Fix

📊 Changes

2 files changed (+34 additions, -8 deletions)

View changed files

📝 packages/vinext/src/config/next-config.ts (+11 -8)
📝 tests/shims.test.ts (+23 -0)

📄 Description

In Next.js, imports without a suffix are very common, but Node.js's native TypeScript import does not support this.

https://nodejs.org/api/typescript.html#determining-module-system

All tests passed locally.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/cloudflare/vinext/pull/37 **Author:** [@hyoban](https://github.com/hyoban) **Created:** 2/25/2026 **Status:** ✅ Merged **Merged:** 3/8/2026 **Merged by:** [@james-elicx](https://github.com/james-elicx) **Base:** `main` ← **Head:** `2-25-load-ts-with-runner` --- ### 📝 Commits (6) - [`8b39f17`](https://github.com/cloudflare/vinext/commit/8b39f17d44d7247faa10e0178fb4928734701a79) fix: load next.config with runnerImport - [`c11d7bc`](https://github.com/cloudflare/vinext/commit/c11d7bc6ec67c7d0dcb1dbc991295e3dfdf8414a) update comment - [`cc0b93e`](https://github.com/cloudflare/vinext/commit/cc0b93e608e7494ee7383d713800d69e900da971) Merge branch 'cloudflare:main' into 2-25-load-ts-with-runner - [`781062f`](https://github.com/cloudflare/vinext/commit/781062ff02ad0a007e6b8144a30a8e3a5715db47) update - [`cf4276d`](https://github.com/cloudflare/vinext/commit/cf4276d1e58936e5b916d0a35e1c839558b13479) Merge branch 'main' into 2-25-load-ts-with-runner - [`4822309`](https://github.com/cloudflare/vinext/commit/4822309d94538ed5c9c4d607413f0a318c48c6b1) Fix ### 📊 Changes **2 files changed** (+34 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `packages/vinext/src/config/next-config.ts` (+11 -8) 📝 `tests/shims.test.ts` (+23 -0) </details> ### 📄 Description In Next.js, imports without a suffix are very common, but Node.js's native TypeScript import does not support this. https://nodejs.org/api/typescript.html#determining-module-system All tests passed locally. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
BreizhHardware 2026-05-06 12:38:49 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/vinext#257
No description provided.