Is there a tool to remove unused methods in javascript?

前端 未结 7 1933
一生所求
一生所求 2020-12-02 19:50

I\'ve got a collection of javascript files from a 3rd party, and I\'d like to remove all the unused methods to get size down to a more reasonable level.

Does anyone

7条回答
  •  时光说笑
    2020-12-02 20:29

    Check out JSCoverage . Generates code coverage statistics that show which lines of a program have been executed (and which have been missed).

提交回复
热议问题