[PR #949] [MERGED] fix: add experimental.prefetchInlining to compatibility check #977

Closed
opened 2026-05-06 13:11:21 +02:00 by BreizhHardware · 0 comments

📋 Pull Request Information

Original PR: https://github.com/cloudflare/vinext/pull/949
Author: @Divkix
Created: 4/29/2026
Status: Merged
Merged: 4/29/2026
Merged by: @james-elicx

Base: mainHead: fix/860-prefetch-inlining


📝 Commits (2)

  • c5c27fe fix: add experimental.prefetchInlining to compatibility check (#860)
  • 133e8e3 fix: mark experimental.prefetchInlining as partial, add test

📊 Changes

2 files changed (+25 additions, -0 deletions)

View changed files

📝 packages/vinext/src/check.ts (+11 -0)
📝 tests/check.test.ts (+14 -0)

📄 Description

Fixes #860

Summary

  • Added experimental.prefetchInlining to the CONFIG_SUPPORT map in check.ts as supported
  • Added detection logic in analyzeConfig() for prefetchInlining in experimental config blocks
  • Next.js flipped prefetchInlining from false to true by default — vinext uses unified RSC navigation payloads, so per-segment prefetch inlining is not applicable

Test plan

  • pnpm run check (format, lint, types) — passes
  • pnpm test — 136 test files pass (4387 tests, 2 skipped)

🔄 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/949 **Author:** [@Divkix](https://github.com/Divkix) **Created:** 4/29/2026 **Status:** ✅ Merged **Merged:** 4/29/2026 **Merged by:** [@james-elicx](https://github.com/james-elicx) **Base:** `main` ← **Head:** `fix/860-prefetch-inlining` --- ### 📝 Commits (2) - [`c5c27fe`](https://github.com/cloudflare/vinext/commit/c5c27fe8272418ccfb9401e13312302cd4ad7404) fix: add experimental.prefetchInlining to compatibility check (#860) - [`133e8e3`](https://github.com/cloudflare/vinext/commit/133e8e35cfba74c337dd858371eeb0024495b264) fix: mark experimental.prefetchInlining as partial, add test ### 📊 Changes **2 files changed** (+25 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `packages/vinext/src/check.ts` (+11 -0) 📝 `tests/check.test.ts` (+14 -0) </details> ### 📄 Description Fixes #860 ## Summary - Added `experimental.prefetchInlining` to the `CONFIG_SUPPORT` map in `check.ts` as `supported` - Added detection logic in `analyzeConfig()` for `prefetchInlining` in experimental config blocks - Next.js flipped `prefetchInlining` from `false` to `true` by default — vinext uses unified RSC navigation payloads, so per-segment prefetch inlining is not applicable ## Test plan - `pnpm run check` (format, lint, types) — passes - `pnpm test` — 136 test files pass (4387 tests, 2 skipped) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
BreizhHardware 2026-05-06 13:11:21 +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#977
No description provided.