Skip to content

[Bug]: UNTRANSPILED_SYNTAX happens for "jsx": "preserve" in tsconfig.json #8377

@sapphi-red

Description

@sapphi-red

Reproduction link or steps

REPL

What is expected?

To have the output the same with transform.jsx: 'preserve' (REPL).

What is actually happening?

The following error happens:

[UNTRANSPILED_SYNTAX] Error: JSX syntax should be transpiled before bundling. Found untranspiled JSX in "index.tsx"

System Info

REPL 1.0.0-rc.5

Any additional comments?

Probably #8324 fixes this. Making an issue to track

Metadata

Metadata

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions