Skip to content

Exclude test files from npm package#92

Open
veksen wants to merge 1 commit intorawify:mainfrom
veksen:exclude-tests-from-npm
Open

Exclude test files from npm package#92
veksen wants to merge 1 commit intorawify:mainfrom
veksen:exclude-tests-from-npm

Conversation

@veksen
Copy link

@veksen veksen commented Feb 9, 2026

Summary

Adds a .npmignore to exclude the tests/ directory from the published npm package.

The test files (~32KB) are shipped to npm but serve no purpose for consumers. With ~36M weekly downloads, excluding them reduces aggregate bandwidth.

Changes

  • Added .npmignore with tests

The `tests/` directory (~32KB) is currently shipped to npm but serves
no purpose for package consumers.
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 this pull request may close these issues.

1 participant