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

Update NPM ignore to reduce bundle size #437

Merged
merged 1 commit into from
May 16, 2023

Conversation

mothershipper
Copy link
Contributor

If using both a .gitignore and .npmignore, npm will favor the .npmignore
and will not reference the .gitignore. This commit copies over missing
entries from the .gitignore into the .npmignore.

Current bundle contains ~7MB in coverage/ - this was already
in the .npmignore though. I'm not sure what the release process looks
like, but it may require further investigation by the maintainers to
fully resolve #417, #387, and #393.

If using both a .gitignore and .npmignore, npm will favor the .npmignore
and will not reference the .gitignore. This commit copies over missing
entries from the .gitignore into the .npmignore.

Current bundle contains ~7MB in coverage/ - this was already
in the .npmignore though. I'm not sure what the release process looks
like, but it may require further investigation by the maintainers to
fully resolve.
@dogabudak dogabudak requested a review from Keyang April 28, 2022 11:54
@lewdev
Copy link

lewdev commented Sep 9, 2022

This is a small change I hope it gets merged because it will reduce the bundle size by 85%!

@nwalters512
Copy link

@dogabudak any chance you could take a look at this?

@mebibou
Copy link

mebibou commented Apr 28, 2023

would be nice to also ignore test folder and merge and release this!

@dogabudak dogabudak merged commit 75a154d into Keyang:master May 16, 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 this pull request may close these issues.

Why is this library so large?
5 participants