A
A
AlexanderShustik2018-12-04 15:34:03
npm
AlexanderShustik, 2018-12-04 15:34:03

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

3 answer(s)
A
Andrey Sedyshev, 2018-12-04
@AlexanderShustik

The general answer is not needed, however there may be packages that are published to npm and not published to bower. And vice versa.

S
sim3x, 2018-12-04
@sim3x

https://bower.io/blog/
bower is dead

K
Konstantin Kitmanov, 2018-12-04
@k12th

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 question

Ask a Question

731 491 924 answers to any question