Skip to content
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

slick.svg is not a valid svg #4320

Open
FP22FD opened this issue Feb 13, 2025 · 1 comment
Open

slick.svg is not a valid svg #4320

FP22FD opened this issue Feb 13, 2025 · 1 comment

Comments

@FP22FD
Copy link

FP22FD commented Feb 13, 2025

Hi, while running the image optimizer https://github.com/vbenjs/vite-plugin-imagemin/tree/main#readme I get an optimization error saying

rendering chunks (3)...imagemin error:assets/slick-BlzDm7g2.svg

I think the svg image is not a valid svg, as it's starts as an xml tag and !DOCTYPE. Shouldn't start with svg instead ?

Link to the file: https://github.com/kenwheeler/slick/blob/master/slick/fonts/slick.svg?short_path=b36a66a

Thanks

@markvantilburg
Copy link
Contributor

It's a svg 1.1 file that allows these headers. It might be a good idea to upgrade the file to a more modern svg version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants