juliomrqz / nuxt-optimized-images

🌅🚀 Automatically optimizes images used in Nuxt.js projects (JPEG, PNG, SVG, WebP and GIF).
https://marquez.co/docs/nuxt-optimized-images/
MIT License
842 stars 29 forks source link

Imagemin-svgo comatibility issue #339

Open Sergei8888 opened 2 years ago

Sergei8888 commented 2 years ago

Module parse failed: Unexpected character '�' (1:0) friendly-errors 14:29:28
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file.

All loaders installed

Sergei8888 commented 2 years ago

Issue related to imagemin-svgo 10.0.0 compatibility. They switched to native ESM modules and it brakes your app

Sergei8888 commented 2 years ago

https://github.com/imagemin/imagemin-svgo/issues/51