forked from JamieMason/grunt-imageoptim
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Gruntfile.js
47 lines (39 loc) · 857 Bytes
/
Gruntfile.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
/*
* grunt-imageoptim
* https://github.com/JamieMason/grunt-imageoptim
*
* Copyright (c) 2013 Jamie Mason @GotNoSugarBaby
* Licensed under the MIT license.
*/
module.exports = function(grunt) {
'use strict';
grunt.initConfig({
imageoptim: {
files: ['~/Desktop/img'],
options: {
jpegMini: true,
imageAlpha: true,
quitAfter: true
}
}
// imageoptim: {
// someTask: {
// files: ['~/Desktop/img'],
// options: {
// jpegMini: true,
// imageAlpha: true,
// quitAfter: true
// }
// },
// otherTask: {
// files: ['~/Desktop/img'],
// options: {
// jpegMini: false,
// imageAlpha: false,
// quitAfter: true
// }
// }
// }
});
grunt.loadTasks('tasks');
};