Repository navigation
[Workers] Document source maps being uploaded by default - #34245
Merged
Merged
Conversation
🚀 Deploying Preview to Cloudflare 🚀Preview URL: https://walshy-wrangler-default-source-maps.previews.developers.cloudflare.com (commit 299da4e)This URL reflects your latest Preview deploymentPreview Deployments by commit
|
2 of 5 tasks
petebacondarwin
approved these changes
Oct 13, 2026
WalshyDev
force-pushed
the
walshy/wrangler-default-source-maps
branch
from
October 13, 2026 11:42
7d35e7b to
dbd996d
Compare
WalshyDev
marked this pull request as ready for review
October 13, 2026 11:53
WalshyDev
requested review from
a team,
GregBrimble,
MattieTK,
irvinebroque,
korinne,
nevikashah and
vy-ton
as code owners
October 13, 2026 11:53
Contributor
AI Review✅ Reviewed 👉 Fix in your agent 👈Fix the following review findings in PR #34245 (https://github.com/cloudflare/cloudflare-docs/pull/34245).
Before making changes, review each finding and present a brief summary table:
- For each finding, state whether you agree, disagree, or need clarification.
- If you disagree, explain why.
- If you need clarification before deciding, ask those questions.
- Then share your plan for which issues to tackle and in what order.
After triaging, follow this order:
1. Post a comment on this PR for any findings you are skipping, with the finding ID and your reasoning.
2. Then commit the fixes for the legitimate findings.
The comment must come before the commit because the next review reads PR comments.
## Style Guide
- S-15271766 | src/content/changelog/workers/2026-10-20-source-maps-on-by-default.mdx:18 | Remove contraction `don't`
Prose contains the contraction `don't` in "they don't affect CPU time, bundle size, or cold starts". Remove contractions per the writing style rule.
- S-192ebd00 | src/content/changelog/workers/2026-10-20-source-maps-on-by-default.mdx:20 | Remove contraction `can't`
Prose contains the contraction `can't` in "Maps it can't resolve, such as inline `data:` source maps". Remove contractions per the writing style rule.Style Guide
Resolved (2) · Dismissed (0)
Commands
|
Contributor
WalshyDev
force-pushed
the
walshy/wrangler-default-source-maps
branch
2 times, most recently
from
October 19, 2026 15:56
1b6ec3e to
f881371
Compare
nevikashah
approved these changes
Oct 19, 2026
WalshyDev
force-pushed
the
walshy/wrangler-default-source-maps
branch
from
October 19, 2026 16:37
f881371 to
3ae5632
Compare
dom96
approved these changes
Oct 20, 2026
Wrangler now generates and uploads source maps by default for `wrangler deploy`, `wrangler versions upload` and `wrangler preview` (cloudflare/workers-sdk#16231). The Cloudflare Vite plugin and Wrangler's Build Output now also generate source maps by default (cloudflare/workers-sdk#16245), so `cf deploy`, which uploads every source map in the build output, gets them without configuration too. Update the source maps, configuration and cf migration docs to describe the new defaults, the lenient handling of unresolvable maps, and how to opt out with Wrangler and with cf, and add a changelog entry announcing it.
WalshyDev
force-pushed
the
walshy/wrangler-default-source-maps
branch
from
October 20, 2026 23:05
3ae5632 to
299da4e
Compare
WalshyDev
enabled auto-merge
October 20, 2026 23:06
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Wrangler now generates and uploads source maps by default for
wrangler deploy,wrangler versions uploadandwrangler preview(cloudflare/workers-sdk#16231, Wrangler 4.150.0). The Cloudflare Vite plugin and Wrangler's Build Output now also generate source maps by default (cloudflare/workers-sdk#16245, Vite plugin 1.64.0 and Wrangler 4.151.0), socf deploy, which uploads every source map in the build output, gets them without configuration too.This updates the source maps, Wrangler configuration and
cfmigration docs to describe the new defaults, how unresolvable maps are skipped unlessupload_source_mapsistrue, and how to opt out with Wrangler and withcf. It also adds a changelog entry announcing the change.Documentation checklist