gruntjs/grunt-contrib-uglify — pull request #206 by Iszak (2014-04-28 09:57:42+00:00)
Title: Truncate destination file

Currently if you had pre-existing source files that has previously compiled into the destination file, then subsequently remove the source files from the grunt file, it won't truncate the destination file as it warns that

Destination {destination} not written because src files were empty.

I think it should truncate the file or remove the file, a similar approach should be taken to the source map but it makes no sense to keep the source map around but truncated.