Closed himself65 closed 7 months ago
There're few versions in swc's decorator config, 2022-03 is marked as legacy decorator. I think it's better to support this when the synax is stable
2022-03
One way to opt-in the decorator behavior is to use TypeScript, and enable experimentalDecorators, bunchee can still compile the decorators. Will still keep JS compilation for supported final stage syntaxes
experimentalDecorators
There're few versions in swc's decorator config,
2022-03
is marked as legacy decorator. I think it's better to support this when the synax is stable