Hello,
in my vinxi project I have imported an svg using following code:
import linesFull from "~/assets/lines/linesFull.svg?url";
I need the ?url, because instead vite resolves this import with an inlined svg in a url(...) thingens. And this code works completely fine in development.
But when building using vinxi build and running the build using node .output/server/index.mjs the svg again gets inlined, what I don't want.
I think that this is a bug of vinxi, because in bare vite this works fine
Do need a repro, or when can we expect a bug fix for this. This is a quite essential feature of vite and the fact that it is not working in vinxi is very sad 🥺
Hello, in my vinxi project I have imported an svg using following code:
I need the
?url
, because instead vite resolves this import with an inlined svg in aurl(...)
thingens. And this code works completely fine in development.But when building using
vinxi build
and running the build usingnode .output/server/index.mjs
the svg again gets inlined, what I don't want.I think that this is a bug of vinxi, because in bare vite this works fine