Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: remove is-svg #1034

Merged
merged 2 commits into from Apr 2, 2021
Merged

refactor: remove is-svg #1034

merged 2 commits into from Apr 2, 2021

Commits on Apr 2, 2021

  1. refactor: remove is-svg dependency

    As there is no practical difference between an
    invalid SVG and an SVG that SVGO cannot parse,
    just try to parse input with SVGO directly.
    
    Also remove dependency on extra XML parsers.
    ludofischer committed Apr 2, 2021
    Copy the full SHA
    22d2a18 View commit details
    Browse the repository at this point in the history
  2. refactor(postcss-svgo): always warn on invalid SVG

    Handle all SVGO failures in the same way, as there
    is no practical difference between being unable to parse
    and being unable to optimise.
    ludofischer committed Apr 2, 2021
    Copy the full SHA
    fc8a52a View commit details
    Browse the repository at this point in the history