Support JSX preserve mode
Open
enhancement
help wanted
- Dominant language
- JavaScript
- Stars
- 76
- Forks
- 19
- PR merge metrics
- No merged PRs in 30d
Description
The JSX preserve mode (https://www.typescriptlang.org/docs/handbook/jsx.html) causes compiled `.tsx` files to be written with a `.jsx` extension. This is not currently supported. We'll have to resolve the TypeScript configuration to determine which extension we should expect for a given source file.
Contributor guide
Research direction
Start by tracing TypeScript configuration resolution and the handling of compiled .tsx output extensions. Confirm how JSX preserve mode should map source files to .jsx files, then verify that the expected output extension is recognized for TypeScript projects.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, typescript
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100