Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exclude test/ from package distribution #327

Open
tbeseda opened this issue May 27, 2023 · 0 comments · May be fixed by #328 or #329
Open

Exclude test/ from package distribution #327

tbeseda opened this issue May 27, 2023 · 0 comments · May be fixed by #328 or #329

Comments

@tbeseda
Copy link

tbeseda commented May 27, 2023

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

This was referenced May 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant