Skip to content

Commit

Permalink
Merge pull request #248 from tomer953/patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
nivekcode authored Oct 1, 2024
2 parents b484fd3 + ce0dd15 commit 5590f8f
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 5590f8f

Please sign in to comment.