Skip to content

Discontinue Using SVGO and Implement Custom SVG Optimization Algorithms

No due date 0% complete

Currently, the project depends on SVGO and requires users to manually install this utility.

This approach has several drawbacks:

  1. Dependency on an external project
  2. Inconvenience for users
  3. Low performance due to the language SVGO is written in (JavaScript)

Need to implement our own SVG optimization algorithms similar to SVGO and eliminate the dependency o…

Currently, the project depends on SVGO and requires users to manually install this utility.

This approach has several drawbacks:

  1. Dependency on an external project
  2. Inconvenience for users
  3. Low performance due to the language SVGO is written in (JavaScript)

Need to implement our own SVG optimization algorithms similar to SVGO and eliminate the dependency on SVGO.

Resources to consider:

  1. SVGO
    Pros:
    - Actively developed
    - High level of optimization
    Cons:
    - Written in JavaScript
  2. svgcleaner
    Pros:
    - Written in Rust
    Cons:
    - Abandoned
    - Optimization level is not as good
Loading