Update gulp compress glob

This commit is contained in:
Ken-Håvard Lieng 2018-04-13 20:51:42 +02:00
parent 94f3777f5f
commit 6ccc57ad64

View File

@ -65,7 +65,7 @@ gulp.task('config', function() {
function compress() { function compress() {
return gulp return gulp
.src(['dist/**/!(*.br|*.woff|*.woff2|0.bundle.js)', '!dist/{br,br/**}']) .src(['dist/**/!(*.br|*.woff|*.woff2)', '!dist/{br,br/**}'])
.pipe(brotli({ quality: 11 })) .pipe(brotli({ quality: 11 }))
.pipe(gulp.dest('dist/br')); .pipe(gulp.dest('dist/br'));
} }