Skip to content

Exclude test/ from package distribution #327

@tbeseda

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

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