You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue on Vite's repository has been closed: "This is a Vue core (compiler-sfc) bug and will be tracked/fixed in the vue-next repo." vitejs/vite#1626
Version
3.0.5
Reproduction link
https://github.com/nsursock/themusicstop-client
Steps to reproduce
Create a vite project, make a landing page with an srcset tag and try to deploy it on Netlify.
Example srcset :
What is expected?
The page should load a different version of the image if you're on mobile or desktop.
What is actually happening?
The image doesn't load because in the dist folder, the app.js file removed the space between image source and resolution (eg https://source.unsplash.com/1024x768/?music1024w instead of https://source.unsplash.com/1024x768/?music 1024w).
I was trying to optimise my website for speed and used an srcset tag.
The text was updated successfully, but these errors were encountered: