mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-15 10:27:31 +00:00
d9306ee74d
Remove disabling 'collapseGroups' and 'mergePaths' rules, as they have been successfully been part of wide SVG optimizations in various different products and are part of the exemplified safe configuration of Wikimedia SVG coding convention. Bring standard 'editLocked' icon with correct size to MN. Bug: T245296 Change-Id: I385e176a647a799176a6f59e364d165387137224
18 lines
485 B
YAML
18 lines
485 B
YAML
plugins:
|
|
# Recommended options from
|
|
# https://www.mediawiki.org/wiki/Manual:Coding_conventions/SVG#Exemplified_safe_configuration:
|
|
- cleanupIDs: false
|
|
- convertPathData: false
|
|
- removeDesc: false
|
|
- removeTitle: false
|
|
- removeViewBox: false
|
|
- removeXMLProcInst: 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: ' '
|