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/write-to-disk.md.
  • 简体中文
  • dev.writeToDisk

    • 类型: boolean | ((filename: string) => boolean)
    • 默认值: (file: string) => !file.includes('.hot-update.')

    用于控制是否将开发环境的构建产物写入到磁盘上。

    Info

    该配置项的使用方式与 Rsbuild 完全一致。详细信息请参考 Rsbuild - dev.writeToDisk。