Skip to content

Conversation

@lukechilds
Copy link
Contributor

@lukechilds lukechilds commented Dec 1, 2017

index.js and test/*.js don't need to be published to npm and add a lot of bloat to the package size.

Not publishing them should result in a saving of 84K, bringing the package down from 132K to 48K.

$ du -hd 0 node_modules/http-cache-semantics
132K	node_modules/http-cache-semantics

$ rm -rf node_modules/http-cache-semantics/test node_modules/http-cache-semantics/index.js

$ du -hd 0 node_modules/http-cache-semantics
 48K	node_modules/http-cache-semantics

@kornelski kornelski merged commit 725b83d into kornelski:master Dec 1, 2017
@kornelski
Copy link
Owner

Thanks

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.

2 participants