Fix to avoid loading svgo.yml

This commit is contained in:
lowlighter committed 2020-10-13 18:51:08 +02:00
1 parent cffe1bab97
commit 1555333b31
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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`)