max-mapper / max-mapper/hexbin

optimize svgs

Open
#119 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
530
Forks
214
PR merge metrics
No merged PRs in 30d

Description

Optimizing the SVGs using svgo has lots of benefits:

  • smaller file size, mostly by removing unnecessary digits after comma
  • no vendor-specific stuff (Inkscape, Illustrator noise) anymore
  • unified style via pretty option

I'd be happy to submit a PR that extends the build command. One has to be careful with svgo though, as it (very rarely) removes stuff that has a visual impact.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the build command and identify how the repository currently processes its SVG assets before evaluating svgo integration and its pretty option. Check the generated SVGs for visual changes and confirm that the build completes with smaller, consistently formatted output.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
build-system
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.