Skip to content

Exclude test/ from package distribution #327

Description

@tbeseda

Can the test/ dir be excluded from the npm module?

I found #213 but it's a bit old and there doesn't seem to be a .npmignore any longer.

A better approach might be the "files" key in package.json. This would be an "allowlist" and could help do away with other files like benchmark/

It would actually make a huge difference in package size
image

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions