primatejs / primate

Web framework focused on flexibility and developer freedom
https://primatejs.com
MIT License
200 stars 9 forks source link

support `.tsx` files in `@primate/frontend` #106

Closed terrablue closed 5 months ago

terrablue commented 5 months ago

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 commented 5 months ago

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