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

Does not resolve .tsx files as .js #74

Closed
1 task
itsMapleLeaf opened this issue Aug 7, 2022 · 1 comment
Closed
1 task

Does not resolve .tsx files as .js #74

itsMapleLeaf opened this issue Aug 7, 2022 · 1 comment
Labels
bug Something isn't working outdated resolver

Comments

@itsMapleLeaf
Copy link

itsMapleLeaf commented Aug 7, 2022

Bug description

A file at ./file.tsx should be importable in TS as ./file.js or ./file.jsx, but tsx does not support either.

Reproduction

git clone https://github.com/itsMapleLeaf/tsx-tsx-bug
cd tsx-tsx-bug
pnpm install
pnpm start

Environment

  System:
    OS: Linux 5.18 undefined
    CPU: (16) x64 AMD Ryzen 7 2700X Eight-Core Processor
    Memory: 6.81 GB / 15.57 GB
    Container: Yes
    Shell: 3.5.1 - /usr/bin/fish
  Binaries:
    Node: 16.16.0 - /run/user/1000/fnm_multishells/189947_1659900686059/bin/node
    Yarn: 1.22.19 - ~/.local/share/pnpm/yarn
    npm: 8.11.0 - /run/user/1000/fnm_multishells/189947_1659900686059/bin/npm
  npmPackages:
    tsx: ^3.8.0 => 3.8.0

Can you contribute a fix?

  • I’m interested in opening a pull request for this issue.
@itsMapleLeaf itsMapleLeaf added bug Something isn't working pending triage labels Aug 7, 2022
itsMapleLeaf added a commit to itsMapleLeaf/reacord that referenced this issue Oct 12, 2022
crutchcorn added a commit to playfulprogramming/playfulprogramming that referenced this issue Feb 11, 2023
@privatenumber privatenumber mentioned this issue Jul 15, 2023
21 tasks
@privatenumber
Copy link
Owner

Closing in favor of #112 as it's more verbose

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working outdated resolver
Projects
None yet
Development

No branches or pull requests

2 participants