Using TSX files with electron-compile error

Viewed 264

I'm trying to compile my electron program using electron-compile-prebuilt. React and typescript are supposed to be supported out of the box, however it throws a console error from the React markup tags Uncaught SyntaxError: Unexpected token <,

Is there a compiler option that needs to be used to support React syntax in TSX? When converted to JSX it works okay.

1 Answers
Related