webpack/webpack — pull request #560 by bernii (2014-10-29 22:38:23+00:00)
Title: Add ability to skip files in UglifyJs via user-defined function

Use case: User has some legacy library that breaks when treated with UglifyJs.
This change gives user a ability to exclude some of the files by conveniently providing custom function (via options) that will decide if a particular file should be skipped.