Commit 6d0eb74
ci(web-preview): strip sourcemaps before Cloudflare upload
The web preview deploy was hitting Cloudflare's 25 MiB per-asset KV
limit on `assets/chunks/chunk-*.js.map`. Release and production deploys
already move sourcemaps out of the bundle (and upload them to S3) before
the wrangler step; the preview job didn't, so the full maps were being
shipped to KV and one chunk's map exceeded the limit.
We don't need preview maps anywhere — just delete them from the build
output right before wrangler deploys.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 203a962 commit 6d0eb74
1 file changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
448 | 448 | | |
449 | 449 | | |
450 | 450 | | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
451 | 461 | | |
452 | 462 | | |
453 | 463 | | |
| |||
0 commit comments