Commit c12edfc
committed
feat(nextjs): auto-enable development export conditions in dev mode
The SDK's webpack config now automatically adds 'development' to
resolve.conditionNames when running 'next dev'. This enables:
- Spotlight auto-enablement from NEXT_PUBLIC_SENTRY_SPOTLIGHT env var
- Other development-only SDK features
Users no longer need manual webpack configuration for Spotlight to work.1 parent 5fdcf7d commit c12edfc
File tree
2 files changed
+10
-13
lines changed- dev-packages/e2e-tests/test-applications/nextjs-15-spotlight
- packages/nextjs/src/config
2 files changed
+10
-13
lines changedLines changed: 0 additions & 13 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 | 10 | | |
24 | 11 | | |
25 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
100 | 110 | | |
101 | 111 | | |
102 | 112 | | |
| |||
0 commit comments