Allow user to not specify a destination in Gruntfile #19

wants to merge 2 commits into

1 participant


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).

cknepper added some commits Aug 1, 2013
cknepper 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.
cknepper 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment