Skip to content

chore(tsconfig): explicit sourceMap and declarationMap: false#593

Merged
John-David Dalton (jdalton) merged 1 commit intomainfrom
chore/no-sourcemaps
Apr 17, 2026
Merged

chore(tsconfig): explicit sourceMap and declarationMap: false#593
John-David Dalton (jdalton) merged 1 commit intomainfrom
chore/no-sourcemaps

Conversation

@jdalton
Copy link
Copy Markdown
Contributor

Sets sourceMap: false and declarationMap: false explicitly on every tsconfig.json in the repo. Keys are fully alphanumerically sorted within each compilerOptions block.

We never want to ship sourcemaps or declaration maps. Making the flags explicit prevents accidental regression when someone edits a config and forgets to check inheritance.

Files touched

  • .config/tsconfig.check.json
  • .config/tsconfig.check.local.json
  • .config/tsconfig.dts.json (adds sourceMap: false)
  • tsconfig.json
  • .claude/hooks/check-new-deps/tsconfig.json

Paired with the same change in socket-cli#1213.

Set sourceMap: false and declarationMap: false explicitly on every
tsconfig.json in the repo. Keys are fully alphanumerically sorted
within each compilerOptions block.

We never want to ship sourcemaps or declaration maps — making the
flags explicit prevents accidental regression when someone edits a
config and forgets to check inheritance.
@jdalton John-David Dalton (jdalton) merged commit 7797383 into main Apr 17, 2026
11 checks passed
@jdalton John-David Dalton (jdalton) deleted the chore/no-sourcemaps branch April 17, 2026 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants