vtex / faststore

Digital commerce toolkit for frontend developers
https://faststore.dev
MIT License
191 stars 61 forks source link

[SVGs] - Is it possible to dynamically import SVGs and render them inline in this version of the project? #2560

Open carlosananias opened 1 week ago

carlosananias commented 1 week ago

What would you like to accomplish? Please describe. I'd like to understand if we can configure @svgr/webpack, as using the native next/image component has limitations for simple adjustments, such as changing the fill or stroke on hover events.

What have you tried so far? Implement @svgr/webpack, but I don't have access to next.config.js to add permission settings.