Skip to content

importing from index.jsx instead of index.js #743

@bobaaaaa

Description

@bobaaaaa

Acknowledgements

  • I read the documentation and searched existing issues to avoid duplicates
  • I understand this is a bug tracker and anything other than a proven bug will be closed
  • I understand this is a free project and relies on community contributions
  • I read and understood the Contribution guide

Minimal reproduction URL

https://github.com/bobaaaaa/tsx-fp-ts-bug

Problem & expected behavior (under 200 words)

tsx tries to import fp-ts/Option/index.jsx and throws an error. Maybe the module config (esm/cjs) of fp-ts is wrong. If so, please close this issue.

Bugs are expected to be fixed by those affected by it

  • I'm interested in working on this issue

Compensating engineering work will speed up resolution and support the project

  • I'm willing to offer $10 for financial support

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions