Search Docs
Enables Hot Module Replacement.
HMR should never be used in production.
Enabling HMR is straightforward and in most cases no options are necessary.
new rspack.HotModuleReplacementPlugin({ // Options... });
Handle error in module loading as per ECMAScript Modules spec at a performance cost.
boolean
false