Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support ts decorator #521

Closed
wants to merge 1 commit into from

Conversation

himself65
Copy link
Contributor

No description provided.

@huozhi
Copy link
Owner

huozhi commented Apr 21, 2024

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

@huozhi
Copy link
Owner

huozhi commented May 1, 2024

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

@huozhi huozhi closed this May 1, 2024
@himself65 himself65 deleted the himself65/eslint branch May 1, 2024 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants