I first created an Electron app which worked without any problems and now I want to transfer it to Webpack. But now I'm facing the problem that everything works so far, but my images, which I added with the jQuery attr command, are not loaded.
Error Message:
Failed to load resource: the server responded with a status of 404 (Not Found)
jQuery inside html file:
$('#slide1').attr("src","./images/example_image.png");
Is there anything I need to consider in connection with jQuery attr and Webpack or where could be the error?