Well, I have build my Gatsby website and facing a problem with Image. It's generating a hash at the end of image file name.
/static/imagename-719331c87d42041b22e62a63d9af6e69.webp
Code:
import Img1 from '../images/image.webp';
.........
......
...........
<picture>
<source srcSet={Img1} />
<img src={Img1} alt="alt" loading="lazy" height="500px" width="800px"/>
</picture>
How i can overcome the problem.
Second thing is: i am not deploying my public folder to netlify. Is it necessary to push the public folder to github? so netlify will get it? Each time i push my site to github and netlify reupload the all files.