cyrilwanner / next-optimized-images

🌅 next-optimized-images automatically optimizes images used in next.js projects (jpeg, png, svg, webp and gif).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

.svg?sprite are included in client side bundle

jlopezxs opened this issue · comments

I don't know if this is the expected behaviour. But now I'm trying to reduce client side bundle size and analyzing it I see all the svg's as js modules. There are some config to only add it in server side or only import the id references like https://github.com/passionkind/svgid-loader?