I have a task:
uglify: { options: { report: 'gzip' }, all: { expand: true, flatten: true, cwd: 'js/', src: ['*.js', '!*.min.js'], dest: 'js/min', ext: '.min.js' } }
Files are compressed into a single file when the report option is run.
options: { report: 'gzip' }
I see that the files will be significantly smaller when using gzipped, but the output files are not scrambled, they are sized according to the "reduced" report.
So the question is, how do I configure uglify for gzip files. Or is it a task for another task?
javascript gruntjs grunt-contrib-uglify
keeg
source share