Not loading files in files
Hello. I have my react-website. I used /dist because I am using react + vite. The problem is that I have files of images inside main image folder. As you can see on pictures. What are steps to build it to work?
/build but the last few logs/dist instead/dist allows it to build successfully on the next trySettings > Builds & deployments > Build configurations > Edit Configurations > Build output directory and set it to dist not buildsrc/database/PartnerData.js. The photo properties in there reference ../src/images/ but I think they should be ../images/src/screens/DonateScreen.jsx for example, paypalLogo is being imported and that reference is being used for the src. It seems this triggers the asset management and the src gets adjusted appropriately during build.{BuildersItem.photo} is simply being treated as a string and results in exactly that string being output during the build.public, it looks like you should reference them using an absolute path, treating public as the root. E.g. if you have public/images/BuildersImages/Hyyzounn.png, the string you use in BuildersData.js should be /images/BuildersImages/Hyyzounn.png.public is here by the way:/build/dist/distSettingsBuilds & deploymentsBuild configurationsEdit ConfigurationsBuild output directorydistbuildsrc/database/PartnerData.jsphoto../src/images/../images/src/screens/DonateScreen.jsxpaypalLogo{BuildersItem.photo}public/images/BuildersImages/Hyyzounn.pngBuildersData.js/images/BuildersImages/Hyyzounn.png16:34:54.710 dist/assets/brandingBackground-329d6ed1.png 262.35 kB
16:34:54.710 dist/assets/portfolioBackground-0723e27b.png 872.92 kB
16:34:54.710 dist/assets/homeBackground-9faeacf6.png 1,514.07 kB
16:34:54.710 dist/assets/index-64a9f809.css 255.70 kB │ gzip: 37.18 kB
16:34:54.711 dist/assets/index-919dd778.js 297.77 kB │ gzip: 94.91 kB
16:34:54.711 ✓ built in 5.17s
16:34:54.768 Finished
16:34:54.769 Note: No functions dir at /functions found. Skipping.
16:34:54.769 Validating asset output directory
16:34:54.770 Error: Output directory "build" not found.
16:34:55.954 Failed: build output directory not found