Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Read jsconfig.json when running .jsx files? #259

Open
huseeiin opened this issue Jun 24, 2023 · 2 comments
Open

Read jsconfig.json when running .jsx files? #259

huseeiin opened this issue Jun 24, 2023 · 2 comments
Labels
enhancement New feature or request tsconfig

Comments

@huseeiin
Copy link

Feature request

Read jsconfig.json when running .js/.jsx files.

Why?

Having to rename every .jsx file to .tsx when using preact/solid/inferno just for the jsx pragma to work is a waste of time especially when in most cases its the exact same script/logic.

Alternatives

Additional context

No response

@huseeiin huseeiin added enhancement New feature or request pending triage labels Jun 24, 2023
@privatenumber
Copy link
Owner

What configuration in the jsconfig.json would you like to passed in to tsx?

@privatenumber
Copy link
Owner

I think this should be looked up as a fallback if tsconfig.json doesn't exist for paths aliasing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request tsconfig
Projects
None yet
Development

No branches or pull requests

2 participants