diff --git a/lib/plugin.js b/lib/plugin.js index 554062a..5dc97c7 100644 --- a/lib/plugin.js +++ b/lib/plugin.js @@ -168,7 +168,8 @@ class SVGSpritePlugin { compilation.assets[`${this.filenamePrefix}${filename}`] = { source() { return content; }, - size() { return content.length; } + size() { return content.length; }, + updateHash(bulkUpdateDecorator) { bulkUpdateDecorator.update(content); } }; }); });