'WEBPACK - Add/update a module without rebuild the entire bundle

Let's say I have built a bundle file from 2 entry modules. This is done at the build time, not runtime: a.js and b.js

Now, I want to update module b.js or even add a new module c.js at the runtime. How to do that without rebuild the bundle from scratch? I don't want to rebuild from scratch to keep the perfomance fast because the update/replacement happens at the runtime.

Thanks for your support



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source