Skip to content

build: stale .map sidecar left behind when switching --source-map to --inline #199

Description

@dean0x

When a build previously used --source-map to produce an external .map file, then is re-run with --inline to embed the map, the old .map sidecar remains on disk.

Current behavior: The --inline flag does not clean up the previous external map file.

Suggested fix: Apply the existing probe_and_remove_stale pattern (used for other stale outputs) to also detect and remove stale .map sidecars when switching to --inline.

Deferred from the v0.4.0 dogfooding remediation (PR #196) — flagged during the 2026-07-17 dogfooding campaign; deliberately not implemented there pending design discussion.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions