TSX files don't get compiled when using systemjs jspm.
Ahoi,
Im providing the "jsx": "react" flag in the compilerOptions for systemjs in the config.js file of jspm.
But the file don't get compiled, im always getting "Unexpected token <" Error, because of the jsx syntax.
For normal *.ts-files everything is working fine. Compiling the tsx file with tsc works fine as well.
I have a repo with an example here: https://github.com/GauSim/jspm-typescript-jsx-react
//CC @vladima, i thought that was fixed.
the issue is we don't parse literal values out of typescriptOptions from configuration. if this line is replaced with "jsx": 2 it should fix the issue
This has to be better documented somewhere, currently takes a little too much head scratching and researching to find that the only thing wrong with my setup is that "jsx" : "react" needs to be replaced with "jsx" : 2. Why?!
Passing that code into the TypeScript compiler would have flagged the issue ;)