mirchaemanuel/devfest-quiz

Vite Manifest Missing Image Assets After Build

Closed this issue · 1 comments

Describe the bug
After performing a build, the Vite manifest does not include the assets for images. This issue results in missing images in the production environment, affecting the user interface and overall user experience.

To Reproduce
Steps to reproduce the behavior:

Run the build command for the project.
Check the generated Vite manifest file.
Notice that the assets for images are not listed.
When accessing the production environment, the images are missing or not loading.
Expected behavior
The expected behavior is that all image assets should be included in the Vite manifest file post-build. This inclusion should ensure that images are correctly loaded and displayed in the production environment.

Screenshots
If applicable, add screenshots to help explain the problem. (N/A in this draft)

Desktop (please complete the following information):

OS: [e.g., Windows 10]
Browser [e.g., Chrome, Firefox]
Version [e.g., 90]
Smartphone (please complete the following information):

Device: [e.g., iPhone 12]
OS: [e.g., iOS 14.5]
Browser [e.g., Safari]
Version [e.g., 14]
Additional context
The issue likely stems from a misconfiguration in the Vite config file, where the image folders are not being scanned correctly during the build process. Adjusting the Vite configuration to ensure all image assets are included in the manifest file should resolve this issue.

solved in v0.1.1