Parcourir la source

improved cleansvg cmd; cleansvg is now idempotent wrt all filetype svgs

telamonian il y a 5 ans
Parent
commit
27eefe9658
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      packages/ui-components/package.json

+ 1 - 1
packages/ui-components/package.json

@@ -28,7 +28,7 @@
   "scripts": {
     "build": "tsc -b",
     "clean": "rimraf lib",
-    "cleansvg": "svgo --pretty --indent=2 --disable=collapseGroups,moveGroupAttrsToElems,removeUselessStrokeAndFill,removeViewBox",
+    "cleansvg": "svgo --pretty --indent=2 --disable=collapseGroups,moveGroupAttrsToElems,removeUnknownsAndDefaults,removeViewBox",
     "docs": "typedoc src",
     "prepublishOnly": "npm run build",
     "storybook": "start-storybook -p 9001 -c .storybook",