I often connect Jquery to my projects, but far from all the functions I use from it, it turns out they hang with dead code and spoil the optimization. What Gulp plugin will remove unused functions from js?

  • gulp-unused is possible - Vlad Vetrov
  • this question is closed as a duplicate of the previous ru.stackoverflow.com/q/733685/191482 ? or will the previous one be on css and this one on js? - Alexey Shimansky

1 answer 1

The minifactor completely removes everything that is not used in the code. The same uglify js ( gulp-uglify ).