Commit b2ed945
committed
fix(asyncReader): use legacy worker build for browser compatibility
The standard pdfjs-dist worker build uses Uint8Array.prototype.toHex
natively, which requires Chrome 128+ and Firefox 132+. The legacy build
includes a polyfill for this method, making it compatible with the
browser targets declared in the project (Chrome 116+, Firefox ESR).
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>1 parent 66a1689 commit b2ed945
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
0 commit comments