Skip to content

Commit

Permalink
Merge pull request #433 from Toolo/patch-1
Browse files Browse the repository at this point in the history
fix(additional-assets): adds missing method
  • Loading branch information
Stanislav Germanovskii committed Mar 6, 2021
2 parents 4a441cf + 8db9c4d commit 4ed89bf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -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); }
};
});
});
Expand Down

0 comments on commit 4ed89bf

Please sign in to comment.