Commit 350450d
committed
fix(appstore): verify pdf worker in js/ instead of dist/
After updating @libresign/pdf-elements, the build no longer produces
dist/pdf.worker.min-*.mjs. The pdf worker is now bundled into js/ by
Vite (via the dynamic import in pdf-elements' ensureWorkerReady()).
Update verify-appstore-package to:
- Assert js/ exists (unconditional, needed for frontend assets)
- Find pdf.worker.min-*.mjs in js/ (where it now lives)
- Keep the dist/ conditional only to check the directory was copied
when it was produced (e.g. local env with an old build artifact)
[skip ci]
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>1 parent 78ac351 commit 350450d
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
| 180 | + | |
| 181 | + | |
180 | 182 | | |
181 | 183 | | |
182 | | - | |
183 | 184 | | |
0 commit comments