Add the uglify task to the generate task.