It would be nice to know more specifically about how uglify treats its subproperties. You chose "dist" and then "files". How does uglify go about parsing that? If you called instead called "dist", "foo", would it behave the same way?
I'm assuming "files" is a reserved word that uglify recognizes. It would be nice if that was clarified. Thanks,