Commit 672da73
fix: exclude @tailwindcss/oxide from dep optimization (#850)
Rolldown cannot process native `.node` binary files. When a project uses
Tailwind CSS v4, the `@tailwindcss/oxide` package contains platform-specific
native bindings (`tailwindcss-oxide.darwin-arm64.node`) that cause Rolldown
to fail with `UNLOADABLE_DEPENDENCY` during dependency optimization.
Added `@tailwindcss/oxide` to the default `optimizeDeps.exclude` list
alongside `vinext` and `@vercel/og`.
Error reproduced with:
- Vite 8.0.8 + Rolldown 1.0.0-rc.15
- Any project with @tailwindcss/vite or @tailwindcss/postcss installed
- Tested against next-shadcn-dashboard-starter (Next.js 16, Tailwind v4)
Co-authored-by: Davin-fe-web3 <Davin-fe@gate.me>1 parent 9791a63 commit 672da73
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1207 | 1207 | | |
1208 | 1208 | | |
1209 | 1209 | | |
1210 | | - | |
| 1210 | + | |
| 1211 | + | |
1211 | 1212 | | |
1212 | 1213 | | |
1213 | 1214 | | |
| |||
0 commit comments