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 decorators in JSX files #66

Closed
wants to merge 1 commit into from

Conversation

huyingx
Copy link

@huyingx huyingx commented Mar 4, 2023

@ArnaudBarre
Copy link
Member

Thanks for the PR. But like for decorator metadata, this requires also to run SWC at build time.
I need to decide on a new API to let more flexibility on the SWC configurations while making it more clear when SWC is used for build and when not.

But I'm still unsure with I want to enable this inside this plugin. It would allow/require to name a files .jsx to use decorators even without JSX syntax in there.

@ArnaudBarre
Copy link
Member

This will not be supported. See #60 (comment) for more info

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