Closed s-elo closed 1 week ago
You should set decorators.version: 'legacy'
to get support for property decorators.
https://rsbuild.dev/config/source/decorators#legacy
You should set
decorators.version: 'legacy'
to get support for property decorators. https://rsbuild.dev/config/source/decorators#legacy
oh I see, thx a lot master~
Version
Details
vue2-ts.zip looks like swc provides the ts decorator parameters wrongly for property decorator
snippet of @Prop decorator in vue-class-component:
swc helper snippet:
Reproduce link
https://github.com/user-attachments/files/17745924/vue2-ts.zip
Reproduce Steps
pnpm i pnpm dev