Fix to avoid loading svgo.yml

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

File diff suppressed because one or more lines are too long

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`)