Search Docs
type Decorators = { version?: 'legacy' | '2022-03'; };
const defaultDecorators = { version: 'legacy'; };
Used to configure the decorators syntax.
The usage of this configuration item is exactly the same as that of Rsbuild. For detailed information, please refer to Rsbuild - source.decorators.