Commit c452c1d
fix(pdfWorker): 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 b264448 commit c452c1d
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
0 commit comments