There is a big javascript library (~ 40 000 lines of code) and an application which uses less than 50% of the library\'s code.
There is a test which uti
In order to automatically remove unused code from bundle, we have:
However, in order to find the unused assets, to remove manually, you can use deadfile library: https://m-izadmehr.github.io/deadfile/
It can simply find unused files, in any JS project.
Without any config, it supports ES6, JSX, and Vue files: