Bo

Results 103 comments of Bo

> hi there! @meowtec got a question related to this issue, i'm using a Remix app, which has SSR embedded, i'm getting a ton of hydration errors and the icons...

Maybe we could have a global variable called `__VITE_SVG_SPRITE_TARGET_EL__` which the user could register to `window`. If `__VITE_SVG_SPRITE_TARGET_EL__` existed, `` will be inserted here. Then you could: ``` // register...

> If we go in this direction, maybe just export `getSvgRoot()` from runtime? > > That way, one could do: > > ```js > import { getSvgRoot } from "vite-plugin-svg-sprite";...