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:
@@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
- Optimize a file and save the result to another file:
|
- 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):
|
- Optimize all SVG files within a directory (overwrites the original files):
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user