I tested it locally, just replace the `ext` line with the rename function
```coffee
				rename: (destBase,destPath) ->
					return destBase + destPath.replace(/\.js$/, "<%= environment.suffix %>.js")
```