How to find unused dependencies

I am trying to clear my application of unused Bower dependencies.

Is there an opportunity or tool for finding unused Bauer dependencies in an application?

+4
source share
1 answer

Bower downloads the packages and saves them in a directory bower downloads. You can access these scripts in your application. You can search your application for a specific directory to see if the script references this directory.

If you are concerned about the scripts that you download and do not use any functions from them, there are tools available depending on the technology / structure used.

, - , , /.

+1

Source: https://habr.com/ru/post/1629313/


All Articles