mirror of
https://github.com/cloudflare/vinext.git
synced 2026-05-09 08:25:34 +02:00
[PR #76] feat: add Netlify as a deployment target (PoC) #290
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#290
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/76
Author: @serhalp
Created: 2/25/2026
Status: 🔄 Open
Base:
main← Head:feat/netlify-poc📝 Commits (1)
1a2620ffeat: add Netlify as a deployment target📊 Changes
68 files changed (+6169 additions, -171 deletions)
View changed files
📝
AGENTS.md(+18 -5)➕
examples/app-router-netlify/app/about/page.tsx(+10 -0)➕
examples/app-router-netlify/app/api/hello/route.ts(+8 -0)➕
examples/app-router-netlify/app/blog/[slug]/page.tsx(+14 -0)➕
examples/app-router-netlify/app/components/counter.tsx(+16 -0)➕
examples/app-router-netlify/app/layout.tsx(+12 -0)➕
examples/app-router-netlify/app/page.tsx(+18 -0)➕
examples/app-router-netlify/netlify.toml(+3 -0)➕
examples/app-router-netlify/package.json(+18 -0)➕
examples/app-router-netlify/tsconfig.json(+12 -0)➕
examples/app-router-netlify/vite.config.ts(+7 -0)➕
examples/hackernews-netlify/.gitignore(+2 -0)➕
examples/hackernews-netlify/app/error.tsx(+7 -0)➕
examples/hackernews-netlify/app/favicon.ico(+0 -0)➕
examples/hackernews-netlify/app/globals.css(+42 -0)➕
examples/hackernews-netlify/app/item/[id]/(comments)/loading.tsx(+5 -0)➕
examples/hackernews-netlify/app/item/[id]/(comments)/page.module.css(+3 -0)➕
examples/hackernews-netlify/app/item/[id]/(comments)/page.tsx(+17 -0)➕
examples/hackernews-netlify/app/item/[id]/layout.module.css(+13 -0)➕
examples/hackernews-netlify/app/item/[id]/layout.tsx(+32 -0)...and 48 more files
📄 Description
Add Netlify support alongside the existing Cloudflare Workers target.
@netlify/vite-pluginand configure builds accordingly (manifest generation, SSR externalization, etc.)vinext:netlify-buildplugin that generates.netlify/v1/functions/server.mjsand_headersfor immutable asset caching (App Router + Pages Router)import()in generated wrapper soNODE_ENVis set before React loads (static imports are hoisted past statements in ESM)BlobCacheHandlerusing deploy-scoped@netlify/blobsfor ISR cachingvinext/netlifypackage exportCo-Authored-By: Claude Opus 4.6 noreply@anthropic.com
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.