From 30c0cd3d4ebcbddb5fa33bd92dac09eba8a66162 Mon Sep 17 00:00:00 2001 From: Jason Axelson Date: Tue, 29 Sep 2020 00:43:30 -1000 Subject: [PATCH] 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. --- pages/common/svgo.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/svgo.md b/pages/common/svgo.md index 884330ddef..cd10847efc 100644 --- a/pages/common/svgo.md +++ b/pages/common/svgo.md @@ -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):