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

The only reason node_modules is there in the repo is because I have hosted the website on github (via github pages) no personal server. And github pages doesn't support `npm install` if you know what I mean. So I need to have all the files in the repo for github to serve my website.

If you have a personal server then you do not need node_modules folder in your repo. You can just do `npm install` in your server.




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

Search: