Gruntfile.js (html-minifier-3.6.0) | : | Gruntfile.js (html-minifier-4.0.0) | ||
---|---|---|---|---|
skipping to change at line 111 | skipping to change at line 111 | |||
minify: { | minify: { | |||
files: { | files: { | |||
'dist/htmlminifier.min.js': '<%= browserify.src.dest %>' | 'dist/htmlminifier.min.js': '<%= browserify.src.dest %>' | |||
} | } | |||
} | } | |||
} | } | |||
}); | }); | |||
grunt.loadNpmTasks('grunt-browserify'); | grunt.loadNpmTasks('grunt-browserify'); | |||
grunt.loadNpmTasks('grunt-contrib-uglify'); | grunt.loadNpmTasks('grunt-contrib-uglify'); | |||
grunt.loadNpmTasks('gruntify-eslint'); | grunt.loadNpmTasks('grunt-eslint'); | |||
function report(type, details) { | function report(type, details) { | |||
grunt.log.writeln(type + ' completed in ' + details.runtime + 'ms'); | grunt.log.writeln(type + ' completed in ' + details.runtime + 'ms'); | |||
details.failures.forEach(function(details) { | details.failures.forEach(function(details) { | |||
grunt.log.error(); | grunt.log.error(); | |||
grunt.log.error(details.name + (details.message ? ' [' + details.message + ']' : '')); | grunt.log.error(details.name + (details.message ? ' [' + details.message + ']' : '')); | |||
grunt.log.error(details.source); | grunt.log.error(details.source); | |||
grunt.log.error('Actual:'); | grunt.log.error('Actual:'); | |||
grunt.log.error(details.actual); | grunt.log.error(details.actual); | |||
grunt.log.error('Expected:'); | grunt.log.error('Expected:'); | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added |