Consider adding .npmignore file
Closed this issue · 4 comments
hakubo commented
Hey,
I am a happy user of your library, but as my project grows we have a lot of dependencies.
We could save a lot of space if you added .npmignore
file to your project.
I even found tool that can help you with it: https://github.com/inikulin/dmn
Thanks!
kof commented
I am not sure which files and folders need to be ignored.
- I never run into the issue with space
- Sometimes its convenient to read docs or run tests directly in the installed package
- Some packages even run some tests after installation
kof commented
maybe we need a tool to clean up packages after installation for this ... f.e. when installing in production env.