Commit 694b43b
fix: use unpkg CDN for pdfjs worker instead of bundled file
The new URL('pdfjs-dist/...', import.meta.url) approach requires pdfjs-dist
to be symlinked directly under apps/web/node_modules, which is fragile with
pnpm workspaces. Using the CDN URL (pinned to pdfjs.version) is simpler and
more reliable — no build-time asset bundling needed.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 5339208 commit 694b43b
1 file changed
Lines changed: 1 addition & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
| 6 | + | |
10 | 7 | | |
11 | 8 | | |
12 | 9 | | |
| |||
0 commit comments