Update svgo saving result to a new file (#4367)

I'm currently using svgo 1.3.2 which as of right now is the latest released version: https://github.com/svg/svgo/releases

The second command did not work and according to the help docs you need to specify `-o` to the output file, otherwise everything is treated as input files.
This commit is contained in:
Jason Axelson
2020-09-29 00:43:30 -10:00
committed by GitHub
parent 8448b30acc
commit 30c0cd3d4e

View File

@@ -10,7 +10,7 @@
- Optimize a file and save the result to another file:
`svgo {{test.svg}} {{test.min.svg}}`
`svgo {{test.svg}} -o {{test.min.svg}}`
- Optimize all SVG files within a directory (overwrites the original files):