Skip to content

Proposal: Ignore tests & src from npm package #18

Closed
@zpao

Description

@zpao

src is compiled away and __tests__ obviously aren't much use so I recommend ignoring them when publishing. I just saw a diff fly by me where we check in node_modules so figured I'd reach out and see it would be possible to ignore them in the future.

I just did a dry run and it takes ~12kb off the .tgz. Looking at the last month of downloads on npm that saves ~17.5gb of bandwidth 😯

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions