Currently the @crxjs/vite-plugin doesn't work with the vite-plugin-svg-icons in dev mode, but for build for production, all works.
Reproduction
Using the following vite.config.js
add svg icons into src/popup/assets/icons and import
in main vue file
here https://github.com/vbenjs/vite-plugin-svg-icons you can check how setup plugin and add icons
and running yarn vite I don't see a sprite map in index.html and icons in the extension, but if I run yarn vite build, all works fine
Build tool
Vite
Where do you see the problem?
Describe the bug
Currently the @crxjs/vite-plugin doesn't work with the vite-plugin-svg-icons in dev mode, but for build for production, all works.
Reproduction
Using the following vite.config.js
add svg icons into
src/popup/assets/icons
and importin main vue file here https://github.com/vbenjs/vite-plugin-svg-icons you can check how setup plugin and add icons and running yarn vite I don't see a sprite map in index.html and icons in the extension, but if I run yarn vite build, all works fine
Logs
No response
System Info
Severity
annoyance