HomePhabricator

build: Bring SVGO optimization to build step

Authored by Volker E <volker.e@wikimedia.org> on Feb 12 2018, 7:50 PM.

Description

build: Bring SVGO optimization to build step

Enabling SVGO automation with 'grunt-svgmin' and conservative
plugin settings to build step, among those:

  • enable removeRasterImages and sortAttrs,
  • disable cleanupIDs, removeDesc, removeTitle, removeViewBox & removeXMLProcInst and
  • make use of pretty and multipass options.

Bug: T185596
Change-Id: Idf955b40c389f520274cd1573f6a797101444021

Details