From 7827bed4da7710fa650f4c77c77b84db40901cda Mon Sep 17 00:00:00 2001 From: xVoLAnD Date: Tue, 25 May 2021 02:18:48 +0100 Subject: [PATCH] fix WEBP issue with HTML. Remove module gulp-webp-html and install gulp-webp-html-fix --- gulpfile.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index c75f2d4..4225901 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -55,7 +55,7 @@ let { src, dest } = require("gulp"), uglify = require("gulp-uglify-es").default, // or uglify imagemin = require("gulp-imagemin"), webp = require("gulp-webp"), // webp - webp_html = require("gulp-webp-html"), + webp_html = require("gulp-webp-html-fix"), webp_css = require("gulp-webp-css"), svg_sprite = require("gulp-svg-sprite"), ttf2woff = require("gulp-ttf2woff"), // fonts diff --git a/package.json b/package.json index c178125..d477539 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,7 @@ "gulp-watch": "^5.0.1", "gulp-webp": "^4.0.1", "gulp-webp-css": "^1.1.0", - "gulp-webp-html": "^1.0.2", + "gulp-webp-html-fix": "^1.0.3", "sass": "^1.32.13" }, "dependencies": {