Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

shahsawoodshinwari's avatar

How to use Laravel Vite Images in sitemap

Good Morning,

I am using all of my images using vite in laravel but the problem is that {{ Vite::image('some-image-path') }} generates a hashed path on each build and can't use this syntax in my sitemap since it is an xml, file so is there anyway i can keep using vite and reference images in sitemap.

0 likes
0 replies

Please or to participate in this conversation.