My changes allow the user to not specify a destination or specify the same destination as the source and it will produce the expected output. This allowed me to chain the cssmin task after other tasks that affect the same CSS file (grunt-contrib-less and grunt-combine-media-queries).
Fix issue of same source/destination resulting in empty file. Similar…
… to commit 8a2646d, but with less code and also enables not specifying a destination, which will set the destination to the source.
Fix the guard code, now it works if the destination and source are th…
…e same or no destination is given, as long as the source file exists.