-
Notifications
You must be signed in to change notification settings - Fork 91
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
SVGs are getting passed to lqip #121
Comments
I'm also having trouble with this. As I use ?lqip in a custom component I build for handling images, if I have a SVG on the page the build fails. Unless of course I have a custom handler for .svg files in next.config.js. This defeats the purpose of this module if I want to also use ?sprite. Any particular reason why svg files are being passed through lqip-loader? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
After adding
next-optimized-images
to my existing project, I got the following error:I edited the
lqip
module to give more information, and found that it is getting passed ansvg
. My short term fix was to removesvg
from thehandleImages
array, but ideally this loader should only include files thatlqip
supports.The text was updated successfully, but these errors were encountered: