Even if we override the webpack output.filename or output.path, the command electron-webpack dev will still try to load the dist directory for main/main.js. I think it should also try to run the output file from the persisting webpack config, after overrides.
In my case I configured the output to build/tmp since that has been the directory structure for almost all of the node apps. I used this method for overriding: Modifying Webpack Configurations
Even if we override the webpack
output.filenameoroutput.path, the commandelectron-webpack devwill still try to load thedistdirectory formain/main.js. I think it should also try to run the output file from the persisting webpack config, after overrides.In my case I configured the output to
build/tmpsince that has been the directory structure for almost all of the node apps. I used this method for overriding: Modifying Webpack Configurations