I have question, if we define a lot package.json it will need npm install right? Then our project have a lot node_module and it will make bloatware..
Ahh, if we define workspace it will make just one node_modules 🌈
Yep, exactly, that is the beauty of them :) Just make sure you either don't declare dependencies in those lots of package.json
And if you do - that they are always the same version. Otherwise npm will install them in lots of node_modules
node_modules
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I have question, if we define a lot package.json it will need npm install right? Then our project have a lot node_module and it will make bloatware..
Ahh, if we define workspace it will make just one node_modules 🌈
Yep, exactly, that is the beauty of them :)
Just make sure you either don't declare dependencies in those lots of package.json
And if you do - that they are always the same version. Otherwise npm will install them in lots of
node_modules