Open birkskyum opened 3 hours ago
Version: deno 2.0.0-rc.4+a92ebd9
repro:
{ "compilerOptions": { "jsx": "preserve", "jsxImportSource": "solid-js" } }
The error is: error: Unsupported 'jsx' compiler option value 'preserve'. Supported: 'react-jsx', 'react-jsxdev', 'react', 'precompile'
error: Unsupported 'jsx' compiler option value 'preserve'. Supported: 'react-jsx', 'react-jsxdev', 'react', 'precompile'
I assume it's because these are the allowed values: https://github.com/denoland/deno/blob/471a15ecfffff009d24a684dda47a42aa71001d7/cli/args/mod.rs#L170-L175
Where in the tsconfig docs, these are the allowed options: https://www.typescriptlang.org/tsconfig/#jsx
preserve react react-native react-jsx react-jsxdev
Related https://github.com/denoland/deno/issues/25677
Version: deno 2.0.0-rc.4+a92ebd9
repro:
The error is:
error: Unsupported 'jsx' compiler option value 'preserve'. Supported: 'react-jsx', 'react-jsxdev', 'react', 'precompile'
I assume it's because these are the allowed values: https://github.com/denoland/deno/blob/471a15ecfffff009d24a684dda47a42aa71001d7/cli/args/mod.rs#L170-L175
Where in the tsconfig docs, these are the allowed options: https://www.typescriptlang.org/tsconfig/#jsx