Commit 61de93a
fix(web): use object-based manualChunks to prevent circular deps (#66)
The function-based manualChunks was creating circular dependencies
between chunks (react-vendor importing from chart-vendor). This caused
race conditions where React.forwardRef could be undefined when
ui-vendor loaded before react-vendor finished initializing.
Switch to object-based syntax which Rollup handles more safely,
consolidating all core dependencies into a single vendor chunk.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Clément VALENTIN <clement.valentin@blacktiger.tech>
Co-authored-by: Claude <noreply@anthropic.com>1 parent 2a75fbf commit 61de93a
1 file changed
+18
-31
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
64 | 51 | | |
65 | 52 | | |
66 | 53 | | |
| |||
0 commit comments