Commit 43403dc
authored
fix(nextjs): Remove
We have added the 'ai' package to our list of externalized packages for
instrumentation purposes. Unfortunately this causes Next.js to
incorrectly evaluate the Vercel AI SDK's conditional exports -
specifically the `react-server` export condition isn't properly handled
when the package is externalized, resulting in client-side code being
loaded in server components instead of the server-side functions.ai from default server external packages (#16736)1 parent 2c4cb5c commit 43403dc
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
23 | 28 | | |
24 | | - | |
25 | 29 | | |
26 | 30 | | |
27 | 31 | | |
| |||
0 commit comments