output.enableLatestDecorators

  • Type: boolean
  • Default: false

Whether to use the new decorator proposal.

By default, Builder uses the legacy decorator proposal when compiling decorators.

When output.enableLatestDecorators is set to true, the Builder will compile with the new decorator proposal (version 2018-09).

WARNING

Deprecated: This configuration is deprecated, please use source.decorators instead.

export default {
  output: {
    enableLatestDecorators: true,
  },
};