Pritam Banerjee Pritam Banerjee - 6 months ago 34
Javascript Question

What are the advantages of using bower over minified javascript files?

I know what bower does.

But wanted to see if there is any real advantage of using bower files in a

app instead of just having the minified javascript file?


Those libs are not really your project's source code. They are dependencies. To keep your source code clean, it's better to declare your dependencies in your package.json file if you use npm or in your bower config file if you use bower.

When others download the project, they do not need to download the deps.

Using bower or npm can also help you upgrade your deps conveniently.