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

support .tsx files in @primate/frontend #106

Closed
terrablue opened this issue Apr 25, 2024 · 1 comment
Closed

support .tsx files in @primate/frontend #106

terrablue opened this issue Apr 25, 2024 · 1 comment

Comments

@terrablue
Copy link
Contributor

When the react export is set to use the .tsx extension.

Potentially this has been already solved due to https://esbuild.github.io/content-types/#jsx

@terrablue
Copy link
Contributor Author

This works by setting the react handler to { extension: ".tsx" }, documented in c28963a.

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

No branches or pull requests

1 participant