Skip to content

chore: stop publishing broken declaration and source maps#3689

Merged
B4nan merged 1 commit into
masterfrom
claude/confident-hodgkin-313cc0
May 29, 2026
Merged

chore: stop publishing broken declaration and source maps#3689
B4nan merged 1 commit into
masterfrom
claude/confident-hodgkin-313cc0

Conversation

@B4nan
Copy link
Copy Markdown
Member

@B4nan B4nan commented May 29, 2026

Every package excludes src from the published tarball but ships .d.ts.map/.js.map that reference ../src/*.ts, so the maps never resolve — "go to definition" lands on the compiled .d.ts instead of the original source. Disabling declarationMap/sourceMap in the shared build config stops emitting these dead maps across all packages and shrinks the tarballs (e.g. @crawlee/core ~252 KB → ~164 KB compressed); sourceMap stays on in the dev tsconfig.json for local debugging.

🤖 Generated with Claude Code

The published packages exclude `src` but ship `.d.ts.map`/`.js.map`
that reference `../src/*.ts`, so the maps never resolve and editors
fall back to the compiled output. Disable `declarationMap`/`sourceMap`
in the build config; keep `sourceMap` on in the dev tsconfig for local
debugging.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@github-actions github-actions Bot added this to the 141st sprint - Tooling team milestone May 29, 2026
@github-actions github-actions Bot added the t-tooling Issues with this label are in the ownership of the tooling team. label May 29, 2026
@B4nan B4nan added the adhoc Ad-hoc unplanned task added during the sprint. label May 29, 2026
@B4nan B4nan merged commit bb9a386 into master May 29, 2026
7 of 9 checks passed
@B4nan B4nan deleted the claude/confident-hodgkin-313cc0 branch May 29, 2026 08:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

adhoc Ad-hoc unplanned task added during the sprint. t-tooling Issues with this label are in the ownership of the tooling team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants