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 30 forks source link

How to exclude some images from the webpack rule? #371

Open bokub opened 1 year ago

bokub commented 1 year ago

Hello,

I'd like to use nuxt-optimized-images on all my SVG images except some images that are in a specific folder.

Is there a way to specify an exclude array that will be added to the webpack rule ? Couldn't find anything like this in the documentation.

Thanks :+1: !