Commit dc1a8ad
committed
fix(build): add missing import and error handling for hole-punch in build
- Add missing 'import { processBinary }' in build.ts (would have caused
ReferenceError at runtime).
- Wrap parseIcuToc/holePunch in try-catch inside processBinary so an
unexpected ICU layout skips hole-punch gracefully instead of crashing
the build.1 parent f100ff0 commit dc1a8ad
2 files changed
+16
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
100 | 101 | | |
101 | 102 | | |
102 | 103 | | |
103 | | - | |
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
370 | 370 | | |
371 | 371 | | |
372 | 372 | | |
373 | | - | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
374 | 378 | | |
375 | 379 | | |
376 | 380 | | |
| |||
380 | 384 | | |
381 | 385 | | |
382 | 386 | | |
383 | | - | |
384 | | - | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
385 | 390 | | |
386 | | - | |
387 | | - | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
388 | 398 | | |
389 | 399 | | |
390 | 400 | | |
| |||
0 commit comments