For AI agents: the complete documentation index is available at /zh/llms.txt, the full documentation bundle is available at /zh/llms-full.txt, and this page is available as Markdown at /zh/configure/app/dev/hmr.md.
搜索
K
指南
配置
插件
API
示例
社区
Modern.js 2.x 文档
简体中文
简体中文
English
主题
语言
简体中文
简体中文
English
菜单
目录
#
dev.hmr
复制 Markdown
类型:
boolean
默认值:
true
是否开启 Hot Module Replacement 热更新能力。
Info
该配置项的使用方式与 Rsbuild 完全一致。详细信息请参考
Rsbuild - dev.hmr
。