I'd recommend deleting node_modules from the git repository, adding it to .gitignore, and running npm install when you deploy or update libraries. I've found that over time, tracking node_modules in git can be a pain because it pollutes diffs, the repository size balloons, and it's harder to keep library versions up to date.
By the way, nice work, and thanks for sharing all this!
I'd recommend deleting
node_modules
from the git repository, adding it to.gitignore
, and runningnpm install
when you deploy or update libraries. I've found that over time, trackingnode_modules
in git can be a pain because it pollutes diffs, the repository size balloons, and it's harder to keep library versions up to date.By the way, nice work, and thanks for sharing all this!