#solid-start base in Vite

3 messages · Page 1 of 1 (latest)

placid carbon
#

I’m working on a solid-start app, due to how this is used I am required to use full URLs instead of relative ones for assets. I’ve tried changing base in vite.config this works for some assets, but entry-client.js” is giving an error that “undefined is not a valid base path”

I've also tried setting the BASE_URL env variable and this warns if it does not start with a / and doesn't work with a full url defined.

Any ideas?

placid carbon
#

Has anyone run in to this before?

placid carbon
#

Giving this a bump - I'm yet to find a solution