every image i have on my site is working in dev but none are working (consistently) in prod.
all my images are stored directly in public/ folder. I have tried referencing them with relative imports and then using the variable in the src= of <Image />, using <Image src={var.src} /> and using things such as <Image src="/image.jpg" /> and none of them are working in prod. sometimes some of them render and then break after wards.
<Image src={`/imageName.jpg`} height='400' width="500" className='mt-3 mb-5' />```
and ```
import imageName from '../public/imageName.png';
<Image
id='mainLogo'
alt="Logo"
className='mx-auto mt-5 pb-5'
// layout="responsive"
// placeholder="blur"
priority
src={imageName.src}
height="250vh"
width="600vh"
/>```
and tried using
```json
publicRuntimeConfig: {
// Will be available on both server and client
staticFolder: process.env.DEV ? "" : '/',
},```
in my next.config.js as well as adding my domains to the next.config.js