Commit 102dc61
committed
fix(nextjs): preserve existing conditionNames when adding development
Only prepend 'development' to existing conditionNames if they exist,
preserving Next.js's original ESM/CJS resolution behavior. This avoids
the 'export *' client boundary error while still enabling SDK development
features like Spotlight auto-enablement.1 parent 5df223a commit 102dc61
File tree
2 files changed
+7
-14
lines changed- dev-packages/e2e-tests/test-applications/nextjs-15-spotlight
- packages/nextjs/src/config
2 files changed
+7
-14
lines changedLines changed: 0 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | 10 | | |
25 | 11 | | |
26 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
100 | 107 | | |
101 | 108 | | |
102 | 109 | | |
| |||
0 commit comments