Search Docs
boolean
false
是否要使用 新版 decorator 提案 进行编译。
默认情况下,Builder 在编译装饰器时采用 旧版 decorator 提案。
将 output.enableLatestDecorators 设置为 true 时,Builder 会采用新版 decorator 提案 (2018-09 版本) 进行编译。
output.enableLatestDecorators
true
Deprecated:该配置已废弃,请使用 source.decorators 配置项代替。
source.decorators
export default { output: { enableLatestDecorators: true, }, };