Answer the question
In order to leave comments, you need to log in
Why do we need npm and bower in the same project?
Hey!
Why do we need npm and bower in the same project, because they duplicate each other in terms of functionality?
Answer the question
In order to leave comments, you need to log in
The general answer is not needed, however there may be packages that are published to npm and not published to bower. And vice versa.
Bower has a slightly different dependency resolution mechanism . Before the ubiquity of webpack with its aliases, trea shaking and dead code elimination and code splitting could be critical. Now - no need, and bower is officially dead.
It could have remained in legacy projects. If the team does not have QA and / or autotests, then you should be careful about getting rid of bower :)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question