Commit 2a75fbf
fix(web): move @headlessui/react to react-vendor chunk (#65)
* fix(web): move @headlessui/react to react-vendor chunk
@headlessui/react uses React.forwardRef internally. When it was in a
separate ui-vendor chunk, browsers could load it before react-vendor
in production, causing "Cannot read properties of undefined (reading
'forwardRef')" errors.
Moving @headlessui/react to the same chunk as React ensures it's always
loaded after React is available.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>
* chore(web): update package-lock
* fix(web): restore tree-sitter in package-lock for CI
---------
Co-authored-by: Clément VALENTIN <[email protected]>
Co-authored-by: Claude <[email protected]>1 parent f9e2707 commit 2a75fbf
1 file changed
+5
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
| 35 | + | |
35 | 36 | | |
36 | 37 | | |
37 | | - | |
| 38 | + | |
| 39 | + | |
38 | 40 | | |
39 | 41 | | |
40 | | - | |
| 42 | + | |
41 | 43 | | |
42 | | - | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| |||
0 commit comments