- **Type:** `boolean`
- **Default:** `true`

Whether to enable Hot Module Replacement.

If `hmr` is set to `false`, the HMR and react-refresh will no longer work.

```js
export default {
  dev: {
    hmr: false,
  },
};
```
