2 ms·
Does it not suggest that node_modules in the source directory isn't a good idea to begin with?
by b3kart 7y ago
Does it not suggest that node_modules in the source directory isn't a good idea to begin with?
- gitgud 7y agoThe project directory would contain everything needed for that project including node_modules (which is generated from the package.json) Every nodejs project is structured this way... node_modules is always sitting next to your src...
- edanm 7y agoIt is usually git-ignored, which means it isn't part of the "real" source directory (the one that is shared with other devs). It's a temporary output of the build process, in essence.