Skip to content

Stop shipping the ~6.5MB source map in the published dist/ #161

Description

@maximn

The build (ncc ... --source-map) emits dist/index.js.map (~6.5MB), which is committed to main by the release-v1 job and downloaded by every consumer on every action run.

Source maps are generally unnecessary for a published action and roughly double the checkout size/time of the action.

Options

  • Drop --source-map for the released bundle, or
  • Keep maps for local debugging but exclude them from the committed dist/.
  • Measure consumer checkout impact before/after.

Flagged during the AI-native docs revamp; tracked in .agents/known-issues.md (item D).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions