Skip to content

build: stop emitting source maps and declaration maps - #13

Merged
IgicNemanja merged 1 commit into
mainfrom
chore/ship-binaries-only
Sep 22, 2026
Merged

IgicNemanja merged 1 commit into
mainfrom
chore/ship-binaries-only

Conversation

@IgicNemanja

@IgicNemanja IgicNemanja commented Sep 22, 2026 •

Copy link
Copy Markdown
Contributor

Publishing policy is compiled output only. The npm tarball carried a .js.map and .d.ts.map next to every module (58 map files in 3.10.0); the tsconfig now emits neither.

Verified: npm run build OK, npm pack --dry-run has 0 .map files (unpacked size 174 kB → 95 kB), vitest run passes.

Note: this repo is public, so the code itself is available regardless; this only removes the redundant maps from the package.

Summary by CodeRabbit

  • Chores
    • Disabled generation of TypeScript declaration files and source maps.

Publishing policy is compiled output only. The npm tarball carried a
.js.map and .d.ts.map next to every module; the tsconfig now emits neither.
@coderabbitai

coderabbitai Bot commented Sep 22, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Essentials

Run ID: bec0a9f3-3f66-47e6-a657-b014fa99d38f

📥 Commits

Reviewing files that changed from the base of the PR and between cff4561 and 448378c.

📒 Files selected for processing (1)
  • tsconfig.json

Included review availability: 0 reviews are currently available. Your included PR review attempts over the past 7 days set your current allowance at 4 reviews per hour.


📝 Walkthrough

Walkthrough

The TypeScript configuration disables declaration map and source map generation.

Changes

Build Output Configuration

Layer / File(s) Summary
Disable declaration and source maps
tsconfig.json
declarationMap and sourceMap changed from true to false.

Priority: ⬇️ Low

Estimated code review effort: 1 (Trivial) | ~2 minutes

Change: Bug fix

Merge Risk: ⚪ Minimal · up to 44837

The change removes source-map artifacts from the package without altering exported declarations, and is ready to merge.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely describes the main build configuration change: disabling source map and declaration map emission.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR

A rabbit checks the compiler's chart
Maps grow quiet before they start
Declarations stay neat and light
Source trails fade from build output bright
The config rests, precise and right

Comment @coderabbitai help to get the list of available commands.

@IgicNemanja
IgicNemanja merged commit cbf07fb into main Sep 22, 2026
2 checks passed
@IgicNemanja IgicNemanja mentioned this pull request Sep 22, 2026
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.

1 participant