aboutsummaryrefslogtreecommitdiffstats
path: root/gulpfile.js
diff options
context:
space:
mode:
authorSam Potts <sam@potts.es>2020-01-13 16:18:24 +0000
committerSam Potts <sam@potts.es>2020-01-13 16:18:24 +0000
commit2463434d27ebad308bc64492d067e29c6d4e60c2 (patch)
tree023ea918a884071ad48f49dca80c821f577e4cd0 /gulpfile.js
parentc09b9ac01c35a78013e08e5a82027b6be7312c18 (diff)
parent15a1cdde896ee1a1a98355f3659f640cbaced459 (diff)
downloadplyr-2463434d27ebad308bc64492d067e29c6d4e60c2.tar.lz
plyr-2463434d27ebad308bc64492d067e29c6d4e60c2.tar.xz
plyr-2463434d27ebad308bc64492d067e29c6d4e60c2.zip
Merge branch 'develop' of github.com:sampotts/plyr into develop
Diffstat (limited to 'gulpfile.js')
-rw-r--r--gulpfile.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/gulpfile.js b/gulpfile.js
index df3ea844..93280f69 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -222,7 +222,11 @@ Object.entries(build.sprite).forEach(([filename, entry]) => {
gulp
.src(src)
.pipe(plumber())
- .pipe(imagemin())
+ .pipe(imagemin([
+ imagemin.svgo({
+ plugins: [{ removeViewBox: false }]
+ })
+ ]))
.pipe(svgstore())
.pipe(rename({ basename: path.parse(filename).name }))
.pipe(size(sizeOptions))