ReduxCasts icon indicating copy to clipboard operation
ReduxCasts copied to clipboard

too much node_modules

Open pimoGit opened this issue 7 years ago • 4 comments

Thanks for this repo, it's so useful to play and learn.

It seems though that when you run npm install on a project folder it installs a lot of useless modules. Am I missing something or it's an issue? This way the node_modules folders are on an average of 100-150 MB. Thanks!

pimoGit avatar Jan 17 '18 19:01 pimoGit

that's one of the disadvantages of these kind of projects, but it's worth all that space (and please note, a lot of those modules are just for development, once you export this to production the size of the project becomes considerably smaller)

gustavostuff avatar Feb 25 '18 21:02 gustavostuff

I see. I was just wondering why so many useless modules. Maybe the product of a lot of tries and then never delete them. Thanks, @tavuntu

pimoGit avatar Feb 26 '18 08:02 pimoGit

I haven't tried this myself, but they say it works for this problem (it reduces the size of node_modules by symlinking some stuff), maybe you'll want to take a look :) https://www.npmjs.com/package/linklocal

gustavostuff avatar Feb 26 '18 16:02 gustavostuff

I will take a look, thanks!

pimoGit avatar Feb 26 '18 17:02 pimoGit