From 5f94f54033c74e10ad97910ee47aec3591f74582 Mon Sep 17 00:00:00 2001 From: Jan Nicklas Date: Tue, 23 Feb 2021 21:08:42 +0100 Subject: [PATCH] fix: ignore empty tags generated by favicons fix #260 --- src/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/index.js b/src/index.js index 36a38ebc..6548f944 100644 --- a/src/index.js +++ b/src/index.js @@ -192,6 +192,7 @@ class FaviconsWebpackPlugin { htmlPluginData.assetTags.meta.push( ...faviconCompilation.tags + .filter(tag => tag && tag.length) .map(tag => parse5.parseFragment(tag).childNodes[0]) .map(({ tagName, attrs }) => { const htmlTag = {