hmr-filter-webpack-plugin
Disable Hot Module Replacement for certain chunks.
Install
npm i -D hmr-filter-webpack-plugin# or yarn add -D hmr-filter-webpack-plugin
Usage
// webpack.config.jsconst HotModuleReplacementFilterPlugin } = ;// ... plugins: // Disable HMR for `worker-loader` and `service-worker-loader` { const name } = compilationcompiler; return name && name; }