feat: integrate SVGO optimization for SVG output - #76
Closed
zhyd1997 wants to merge 2 commits into
Closed
Conversation
- Add SVGO import and optimize function call in render-svg.ts - Use default SVGO settings for safe optimization - Update test assertions to check for 'path' instead of 'polygon' elements - Update all snapshots to reflect optimized SVG structure - Maintain all existing functionality while reducing SVG file size - All 23 tests passing with optimized output
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
devin-ai-integration
Bot
force-pushed
the
devin/1759057746-svgo-optimization
branch
from
September 28, 2025 12:11
ddfef1f to
f9c114b
Compare
Author
|
@baeoc @seveibar It takes too long because of the CDN: simple-3d-svg/examples/dragrotate.ts Lines 8 to 9 in 4b874f2 I don't know what's happened in it.
|
Author
|
Maybe this enhancement is faster: #77 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Close #56
/claim #56
Performance Impact: