Description
node_modules and dist folders should registered in .gitignore file.
Reasons:
- Avoid conflicts
- Clutter-Free Repository (keeping your repo clean and focused on source code)
- Reproducibility: some machines can install different dependencies, using a different SO (linux, mac, windows) or different package manager (npm, pnpm, yarn ...)
- File Size and Performance: With
node_modules repo can become quite large, affecting performance and making operations like cloning and pulling changes much slower
Description
node_modulesanddistfolders should registered in.gitignorefile.Reasons:
node_modulesrepo can become quite large, affecting performance and making operations like cloning and pulling changes much slower