Skip to content

Commit 2e5c718

Browse files
committed
Adjusted imagemin config
1 parent 0ad9306 commit 2e5c718

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

config/grunt/imagemin.js

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,19 @@ module.exports = {
55
{
66
expand: true,
77
cwd: '<%= paths.imagesSrc %>',
8-
src: [ '**/*.{png,jpg,jpeg,gif,svg}' ],
8+
src: [
9+
'**/*.{png,jpg,jpeg,gif,svg}',
10+
'!screenshot.png'
11+
],
912
dest: '<%= paths.images %>'
13+
},
14+
{
15+
expand: true,
16+
cwd: '<%= paths.imagesSrc %>',
17+
src: [
18+
'screenshot.png'
19+
],
20+
dest: ''
1021
}
1122
]
1223
}

0 commit comments

Comments
 (0)