#qwik jsx image imports broken in new version

10 messages · Page 1 of 1 (latest)

compact mural
#

i updated my old project to qwik latest version 1.3.0 and now jsx image imports no longer work
[vite] Internal server error: ENOENT: no such file or directory, stat 'C:\Users\ayoub\Desktop\Web%20Projects\Freelance%20Projects\ifma-project\src\assets\brands\elec.webp'
import ImgElec from "~/assets/brands/elec.webp?jsx";

compact mural
#

bu,p

onyx tundra
#

I'm not really sure if this could resolve the issue, but try not to use folders with whitespaces, in somehow it sometimes breaks the file paths, use dashes - instead, try renaming the folders then try again, ofc make sure the file is located in the path you pointed in your import.

compact mural
#
#

i tried updating from 1.2.9 to 1.3.0

#

that broke it

#

thejsx imports

onyx tundra
#

Did you try to downgrade it back to 1.2.9?

compact mural