Rewrites Gruntfile