Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
fix readme example
  • Loading branch information
tomer953 authored Sep 29, 2024
1 parent b484fd3 commit ce0dd15
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ to solve a specific kind of problem. You can switch between approaches by passin
### 1. Converting to a single object (`conversionType==='object'`)

In this scenario the SVG icons are converted to a single object. It's an approach that is suitable if your icon registry
accepts an object with the filename as key and the svg data as key.
accepts an object with the filename as key and the svg data as the value.

#### Available options:

Expand Down Expand Up @@ -431,10 +431,11 @@ When you choose to generate UMD and ESM bundles the generated output will end up

Let's say we have the following four svg files in a `inputfiles` folder.

- expressionless.svg
- full.svg
- laughing.svg
- smiling-face.svg
- artist.svg
- birthday.svg
- chef.svg
- sleep.svg
- space.svg

We can now run
`svg-to-ts-files -s ./inputfiles -o ./dist`
Expand Down

0 comments on commit ce0dd15

Please sign in to comment.