Skip to content
This repository was archived by the owner on Jul 21, 2019. It is now read-only.

Commit 153795d

Browse files
authored
Merge pull request #517 from devopsdays/remove-fingerprinting
Remove retina on images that don’t need it
2 parents 36af7c6 + 6a2bd38 commit 153795d

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

gulp/tasks/copy-static-files.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,19 @@ gulp.task('copy-css-maps', function() {
1616
.pipe(gulp.dest('dist/css'));
1717
})
1818

19+
gulp.task('copy-other-images', function() {
20+
return gulp.src(['public/**/*.png', 'public/**/*.jpg','public/**/*.jpeg',
21+
'!public/favicon*', '!public/apple-icon*', '!public/android-icon*', '!public/ms-icon*', '!public/**/sharing.jpg', '!**/logo-square.*', '!public/img/sponsor/*.*', '!public/**/organizers/*.jpg'])
22+
.pipe(gulp.dest('dist'));
23+
})
24+
1925
// gulp.task('copy-static-files', function(callback) {
2026
// runSequence('copy-misc-files', 'copy-fonts', 'copy-css-maps',
2127
// callback
2228
// )
2329
// })
2430

25-
gulp.task('copy-static-files', ['copy-misc-files', 'copy-fonts', 'copy-css-maps'])
31+
gulp.task('copy-static-files', ['copy-misc-files', 'copy-fonts', 'copy-css-maps', 'copy-other-images'])
2632

2733

2834
// gulp.task('copy-images', function(callback) {

gulp/tasks/responsive-images.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ runSequence = require('run-sequence');
88
// )
99
// });
1010

11-
gulp.task('responsive-images', ['responsive-images-logos', 'responsive-sponsor-images', 'responsive-organizer-images', 'responsive-images-remaining'])
11+
gulp.task('responsive-images', ['responsive-images-logos', 'responsive-sponsor-images', 'responsive-organizer-images'])
1212

1313

1414

0 commit comments

Comments
 (0)