You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 31, 2018. It is now read-only.
@tomitrescak You don't really have to use the jsx extension as @natew hinted. You can just use the normal .js extension and rest assured it'll not break anything or lead to any unexpected behaviors.
We could of course add support for configuring pundle's supported require extensions but don't really have a solid use case for it (yet?)
Guys, unfortunately typescript outputs TSX only to JSX, there is no way to change that. The only possibility is to output TSX code to react (React.createClass) that is much harder to debug.
So, the workflow is to output TSX code to pure ES6 with original markup for easier debug. Having JSX wil make a lot of Angular people happy as well as other TS enthusiasts.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi. I really like the project, and pundler is simply amazing!
I have a bit of issue though, I'm using typescript which transpiles React files to JSX not JS. How can I make the app recognise JSX extension?
Thanks
The text was updated successfully, but these errors were encountered: