Fix to avoid loading svgo.yml
This commit is contained in:
1 parent
cffe1bab97
commit
1555333b31
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -85,7 +85,7 @@
|
||||
console.debug(`metrics/metrics/${login} > templated`)
|
||||
|
||||
//Optimize rendering
|
||||
const svgo = new SVGO({plugins:[{cleanupAttrs:true}, {inlineStyles:false}]})
|
||||
const svgo = new SVGO({full:true, plugins:[{cleanupAttrs:true}, {inlineStyles:false}]})
|
||||
const {data:optimized} = await svgo.optimize(templated)
|
||||
console.debug(`metrics/metrics/${login} > optimized`)
|
||||
|
||||
|
||||
Reference in new issue
Block a user