2017-08-30 14:53:23 +00:00
|
|
|
plugins:
|
2020-02-06 05:48:20 +00:00
|
|
|
# Recommended options from
|
2020-02-04 00:36:08 +00:00
|
|
|
# https://www.mediawiki.org/wiki/Manual:Coding_conventions/SVG#Exemplified_safe_configuration:
|
|
|
|
- cleanupIDs: false
|
|
|
|
- convertPathData: false
|
|
|
|
- removeDesc: false
|
|
|
|
- removeTitle: false
|
|
|
|
- removeViewBox: false
|
2020-02-06 05:48:20 +00:00
|
|
|
- removeXMLProcInst: false
|
|
|
|
|
|
|
|
# Additional overrides
|
|
|
|
- collapseGroups: false
|
|
|
|
- mergePaths: false
|
|
|
|
|
|
|
|
# Configure the indent (default 4 spaces) used by `--pretty` here:
|
|
|
|
#
|
|
|
|
# @see https://github.com/svg/svgo/blob/master/lib/svgo/js2svg.js#L6 for more config options
|
|
|
|
#
|
|
|
|
js2svg:
|
|
|
|
pretty: true
|
|
|
|
indent: ' '
|