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

Make npm package a bit smaller #171

Merged
merged 3 commits into from
Jul 30, 2020
Merged

Make npm package a bit smaller #171

merged 3 commits into from
Jul 30, 2020

Conversation

macbre
Copy link
Owner

@macbre macbre commented Jul 24, 2020

npm notice package size: 22.1 kB
npm notice unpacked size: 120.2 kB
npm notice total files: 35

vs

npm notice package size: 66.2 kB
npm notice unpacked size: 433.5 kB
npm notice total files: 73

npm notice package size:  22.1 kB
npm notice unpacked size: 120.2 kB
npm notice total files:   35

vs

npm notice package size:  66.2 kB
npm notice unpacked size: 433.5 kB
npm notice total files:   73
@macbre
Copy link
Owner Author

macbre commented Jul 30, 2020

Without files blacklist

$ npm publish --dry-run 2>&1 | egrep 'size|files'
npm notice package size:  46.9 kB                                 
npm notice unpacked size: 202.5 kB                                
npm notice total files:   71                          

With files blacklist

$ npm publish --dry-run 2>&1 | egrep 'size|files'
npm notice package size:  21.7 kB                                 
npm notice unpacked size: 119.0 kB                             
npm notice total files:   33                      

@macbre macbre merged commit 20d2958 into devel Jul 30, 2020
@macbre macbre deleted the smaller-package branch July 30, 2020 10:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant