There was an error while loading. Please reload this page.
1 parent e4d6f3e commit 21d349eCopy full SHA for 21d349e
index.js
@@ -50,7 +50,7 @@ module.exports = function(source) {
50
}
51
52
53
- var svgo = new Svgo(config);
+ var svgo = new Svgo({ ...config });
54
svgo.optimize(source, { path: this.resourcePath })
55
.then(function(result) {
56
callback(null, result.data);
0 commit comments