8000 Explain `path: 'path-to.svg'` meaning · Issue #2068 · svg/svgo · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Explain path: 'path-to.svg' meaning #2068
Open
@MHillier98

Description

@MHillier98

The README says:

const result = optimize(svgString, {
  path: 'path-to.svg', // recommended
  multipass: true, // all other config fields are available here
});

But I can't seem to find any docs or explanation of what this path: 'path-to.svg' parameter does or why it's recommended.
It would be helpful to know what this is exactly and why it's recommended :)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0