Webpack is not just a collection of JS modules; it can be used to link static assets (for example, built-in base64 images), compile Sass / Less / Stylus / CSS modules, eliminate dead code, tree jitter, etc. With the right bootloader and configuration with active development, only require('any-type-of-file.extension') . However, in my personal experience, moreover, Webpack is valuable because of this dev-server and Hot Module Replacement (HMR), which makes Live Reload feel like something from dark times.
To remind you, you get all the combined power of Gulp / Browserify / Rollup, but with HMR on top, all in one tool (and many, many, many, many, many downloaders;).
Setting up Webpack is PITA, no doubt, but if you plan to work in the Electron application for a sufficient amount of time, then the time saved from the HMR is worth it.
source share