Skip to content

Commit aeec382

Browse files
committed
Merge branch 'dev'
2 parents 8ff6a72 + 01184ab commit aeec382

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

.eslintrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"parserOptions": {
3-
"ecmaVersion": 2020,
3+
"ecmaVersion": 2017,
44
"sourceType": "module"
55
},
66
"rules": {

gulpfile.js

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -107,13 +107,14 @@ let transpileJSForProd = () => {
107107
let compressImages = () => {
108108
return src(`dev/img/**/*`)
109109
.pipe(imageCompressor({
110-
optipng: ['-i 1', '-strip all', '-fix', '-o7', '-force'],
111-
pngquant: ['--speed=1', '--force', 256],
112-
zopflipng: ['-y', '--lossy_8bit', '--lossy_transparent'],
113-
jpegRecompress: ['--strip', '--quality', 'medium', '--min', 40, '--max', 80],
114-
mozjpeg: ['-optimize', '-progressive'],
115-
gifsicle: ['--optimize'],
116-
svgo: ['--enable', 'cleanupIDs', '--disable', 'convertColors'],
110+
optipng: [`-i 1`, `-strip all`, `-fix`, `-o7`, `-force`],
111+
pngquant: [`--speed=1`, `--force`, 256],
112+
zopflipng: [`-y`, `--lossy_8bit`, `--lossy_transparent`],
113+
jpegRecompress: [`--strip`, `--quality`, `medium`, `--min`, 40,
114+
`--max`, 80],
115+
mozjpeg: [`-optimize`, `-progressive`],
116+
gifsicle: [`--optimize`],
117+
svgo: [`--enable`, `cleanupIDs`, `--disable`, `convertColors`],
117118
quiet: false
118119
}))
119120
.pipe(dest(`prod/img`));

0 commit comments

Comments
 (0)