Skip to content

[Feature]: rspack how to use the emitDecoratorData #9258

@xierenyuan

Description

@xierenyuan

What problem does this feature solve?

参考 swc 配置 decoratorMetadata 后 无法正常编译(After referring to the SWC configuration for legacyDecorator, the compilation fails. at decoratorMetadata)

Image

运行异常 (Runtime error)

Image

最小复现 (Minimal reproducible example)

rsbuild-decoratorMetadata.zip

rspack-emit-decorator-data.zip

What does the proposed API of configuration look like?

pnpm install
pnpm dev

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions