This repository was archived by the owner on May 1, 2024. It is now read-only.
Image size issue with large svgs #1067
Unanswered
EricBeaulieu
asked this question in
Registry
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
node version 20.11.0 npm version 10.2.4
When running image-size v 1.1.1 id get an issue where it wouldn't identify SVGs over a certain file size.
it would say the file time was undefined and obviously throw an error.
I'm creating a reporter to show all images and detect them when its over 500kb but there were still ones that were over 400 that wouldn't go through with this.
I noticed the consistency was the file size when I put in a console.log of it.
This code was copy and pasted from another script where it worked, I ended up downgrading to that version 1.0.1 and the larger SVGs go through fine.
I tried looking around online for reporting issues so if this is the incorrect spot please point me in the right direction
Beta Was this translation helpful? Give feedback.
All reactions