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

[Regression] ESM module import using the # import pattern no longer works since 4.12.0 #579

Closed
4 of 6 tasks
FredTreg opened this issue Jun 7, 2024 · 1 comment
Closed
4 of 6 tasks
Labels

Comments

@FredTreg
Copy link

FredTreg commented Jun 7, 2024

Acknowledgements

  • I read the documentation and searched existing issues to avoid duplicates
  • I am reporting a confirmed bug (not seek debugging help)
  • I understand this is a collaborative project and relies on my contributions
  • I read and understood the Contribution guide

Minimal reproduction URL

https://stackblitz.com/edit/node-c5jsr8

Problem & expected behavior (under 200 words)

The stackblitz will work if moving back to tsx 4.11.2

Basically using

"imports": {
    "#*": {
      "production": "./dist/*",
      "default": "./src/*"
    }
  },

in package.json no longer works in 4.12.0

I assume commit 72d0896 is responsible for the issue as a path starting with '#' may not be considered a unix path?

Bugs are expected to be fixed by those affected by it

  • I'm interested in working on this issue

Compensating engineering work financially will speed up resolution

  • I'm willing to offer financial support
@FredTreg FredTreg added bug Something isn't working pending triage labels Jun 7, 2024
@privatenumber
Copy link
Owner

🎉 This issue has been resolved in v4.13.3

If you appreciate this project, please consider supporting this project by sponsoring ❤️ 🙏

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants