Hacker News new | past | comments | ask | show | jobs | submit login

related: I realized that many people including myself made mistakes with .npmignore and accidentally include docs directories. that is a lot of bloat.

a node module should be just runtime required code and LICENSE




^ This. Setup your .npmignore before publishing!

Also, before packaging your Electron app use something like gulp to exclude problematic files like .md and anything else unnecessary.

There are other common tools like browserify that can still be leveraged.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: