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

Npm package size #399

Closed
Hexagon opened this issue Feb 15, 2023 · 2 comments
Closed

Npm package size #399

Hexagon opened this issue Feb 15, 2023 · 2 comments

Comments

@Hexagon
Copy link
Contributor

Hexagon commented Feb 15, 2023

Just a detail i noticed while browsing npm.

To make this great package even more popular, you could either add a files-section in package.json, which whitelist all files that is to be included in the npm package. Or add a .npmignore to blacklist files which shouldnt be included.

Current npm stats are

Unpacked Size
3.57 MB

Total Files
154

Which could scare away certain users who are using packagephobia and tools like that. Guess a lot of it can be sliced away without cousing any problems whatsoever 🥷

@gildas-lormeau
Copy link
Owner

Thank you very much for the kind words and the suggestion. I just published the version 2.6.65 on NPM. Now, it contains 65 files.

@Hexagon
Copy link
Contributor Author

Hexagon commented Feb 15, 2023

Cool! Fastest fix ever 😄

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

2 participants