Commit 76921b8
Add patch for rescript-json-combinators to generate .bs.js files
The @glennsl/rescript-json-combinators package ships without compiled
.bs.js files and its bsconfig.json lacks package-specs configuration.
This causes module resolution failures when Rspack tries to import
these files.
Add patch-package to apply a fix that:
- Removes reference to non-existent examples directory
- Adds package-specs for ES module output
- Configures .bs.js suffix for compiled files
This ensures yarn res:build compiles the dependency correctly.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent fbc5781 commit 76921b8
File tree
2 files changed
+26
-0
lines changed- patches
2 files changed
+26
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
133 | 134 | | |
134 | 135 | | |
135 | 136 | | |
| 137 | + | |
| 138 | + | |
136 | 139 | | |
137 | 140 | | |
138 | 141 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
0 commit comments