We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d1a8dd commit 47b9012Copy full SHA for 47b9012
Gruntfile.js
@@ -12,6 +12,8 @@ const fse = require('fs-extra');
12
const git = require('simple-git');
13
const pkg = require('./package.json');
14
const update_i18n = require('./updatei18nFiles.js');
15
+const mozjpeg = require('imagemin-mozjpeg');
16
+const pngquant = require('imagemin-pngquant');
17
18
module.exports = function(grunt) {
19
require('time-grunt')(grunt);
@@ -151,7 +153,8 @@ module.exports = function(grunt) {
151
153
imagemin: {
152
154
images: {
155
options: {
- optimizationLevel: 2
156
+ optimizationLevel: 2,
157
+ use: [mozjpeg(),pngquant()] //plugins for jpeg & png image compression
158
},
159
files: [{
160
expand: true,
0 commit comments