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

huge npm package > 7Mb #228

Open
drortirosh opened this issue Mar 8, 2021 · 4 comments
Open

huge npm package > 7Mb #228

drortirosh opened this issue Mar 8, 2021 · 4 comments

Comments

@drortirosh
Copy link

for "dependency-less, lightweight" library, 7Mb package is a bit too large.
I suggest not packing entire test suite into the npm package

@ScottAwesome
Copy link

not really sure what you mean? according to bundlephobia, its 17KB minified, 5.5KB gzipped: https://bundlephobia.com/[email protected]

if you mean don't ship unnecessary directories, I can understand that, but this is not clear in your issue title.

@drortirosh
Copy link
Author

Not the minified file - it takes 7 MB in dev environment. the entire "test" folder is packed into the npm package, and is useless.
Yes, it only takes space on developer machine - of any project that uses oboe as a dependency.

@AcidRaZor
Copy link

check the size of your node_modules directory. its known to be huge

@drortirosh
Copy link
Author

yes, the node_modules is huge - for this exact reason (many small packages that don't care about their impact on the total node_modules size...)

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

No branches or pull requests

3 participants