enhanced-electron-react-boilerplate
enhanced-electron-react-boilerplate copied to clipboard
Error in loading images
Hi, Thank you for providing such a boilerplate. I have been using this boiler plate to build my electron application. I added an image folder inside src/assets and imported images from the same inside react component. The images I import is loaded during development mode but not inside production mode. I searched on the Internet and some one has written to add url-loaders instead of file-loader in webpack build configuration. I did the same and it worked is this a correct solution or else what are my options
There's nothing wrong with that at all. Having to resort to that probably means a different problem somewhere but it's still fine.