output.filename.template
optionaltemplate?:string
仅适用于 Rspeedy
此配置仅由 Rspeedy 的 lynx.config.ts 接受,Rsbuild + pluginLynx 不支持。请勿直接写入 rsbuild.config.ts,也不要传给 pluginLynx()。
模板文件的名称。
已被弃用
请使用 Filename.bundle 代替。
默认值
'[name].[platform].bundle'
备注
支持以下占位符:
[name]:入口名称。[contenthash]:模板的 contenthash。
示例
- 在 bundle 文件名中使用 content hash:
- 在 bundle 文件名中使用指定长度的 content hash: