mirror of
https://github.com/cloudflare/vinext.git
synced 2026-05-09 08:25:34 +02:00
[PR #850] [MERGED] fix: exclude @tailwindcss/oxide from dep optimization #896
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#896
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/850
Author: @467469274
Created: 4/15/2026
Status: ✅ Merged
Merged: 4/16/2026
Merged by: @james-elicx
Base:
main← Head:feat/add-missing-shims-and-fixes📝 Commits (1)
f9b0c68fix: exclude @tailwindcss/oxide from dep optimization📊 Changes
1 file changed (+2 additions, -1 deletions)
View changed files
📝
packages/vinext/src/index.ts(+2 -1)📄 Description
Summary
Exclude
@tailwindcss/oxidefrom Vite's dependency optimization — Rolldown cannot process native.nodebinaries.Problem
Rolldown cannot process native
.nodebinary files. When a project uses Tailwind CSS v4,@tailwindcss/oxidecontains platform-specific native bindings (tailwindcss-oxide.darwin-arm64.node) that cause Rolldown to fail withUNLOADABLE_DEPENDENCYduring dependency optimization.Error:
Fix
Added
@tailwindcss/oxideto the defaultoptimizeDeps.excludelist alongsidevinextand@vercel/og.Changes
Dropped the
next/navigationdefault export per review feedback — Next.js itself does not provide a default export fromnext/navigation, and the stated@clerk/nextjsuse case was incorrect (Clerk uses named imports).Test plan
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.