1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-12-22 17:23:50 +01:00

Revert "optimize jpg with jpegoptim"

This reverts commit e389e08841.
This commit is contained in:
Matthias Kretschmann 2017-04-03 23:15:25 +02:00
parent e389e08841
commit 11bcdbdb27
Signed by: m
GPG Key ID: BD3C1F3EDD7831FC
2 changed files with 10 additions and 12 deletions

View File

@ -1,15 +1,14 @@
'use strict'
import { src, dest, parallel, series, watch } from 'gulp'
import plugins from 'gulp-load-plugins'
import del from 'del'
import pkg from './package.json'
import parallelize from 'concurrent-transform'
import browser from 'browser-sync'
import autoprefixer from 'autoprefixer'
import cssnano from 'cssnano'
import critical from 'critical'
import imageminJpegoptim from 'imagemin-jpegoptim'
import plugins from 'gulp-load-plugins'
import del from 'del'
import pkg from './package.json'
import parallelize from 'concurrent-transform'
import browser from 'browser-sync'
import autoprefixer from 'autoprefixer'
import cssnano from 'cssnano'
import critical from 'critical'
// load plugins
const $ = plugins()
@ -253,7 +252,7 @@ export const icons = () => src(iconset.icons)
//
const imageminPlugins = [
$.imagemin.gifsicle({ interlaced: true }),
imageminJpegoptim(),
$.imagemin.jpegtran(),
$.imagemin.optipng({ optimizationLevel: 5 }),
$.imagemin.svgo({ plugins: [{removeViewBox: false }]})
]

View File

@ -53,8 +53,7 @@
"gulp-stylus": ">=2.3.1",
"gulp-svg-sprite": ">=1.2.2",
"gulp-uglify": ">=1.2.0",
"gulp-util": ">=3.0.6",
"imagemin-jpegoptim": ">=5.0.0"
"gulp-util": ">=3.0.6"
},
"engines": {
"node": ">=5.0.0"