Adding svgr plugin to the vite config
Hey!
I want to import svgs as React svg components instead of urls. So I installed the svgr vite plugin https://www.npmjs.com/package/vite-plugin-svgr.
Locally, it works perfectly but I can't deploy because the web-server folder doesn't build. The issue is
It seems like the web-server vite config correctly merges with the one from the root folder but it's not installed, or at least it doesn't show up in web-server's package.json.
Any ideas? I guess this issue would apply to any other vite plugin.
I want to import svgs as React svg components instead of urls. So I installed the svgr vite plugin https://www.npmjs.com/package/vite-plugin-svgr.
Locally, it works perfectly but I can't deploy because the web-server folder doesn't build. The issue is
It seems like the web-server vite config correctly merges with the one from the root folder but it's not installed, or at least it doesn't show up in web-server's package.json.
Any ideas? I guess this issue would apply to any other vite plugin.

