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

[BUG] Library forces CommonJS #283

Open
1 task done
vzolin opened this issue Mar 6, 2025 · 0 comments
Open
1 task done

[BUG] Library forces CommonJS #283

vzolin opened this issue Mar 6, 2025 · 0 comments
Labels
Needs Triage needs an initial review

Comments

@vzolin
Copy link

vzolin commented Mar 6, 2025

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

I use to-level await in one of my projects. After installing this library typescript stops considering the "module" parameter in package.json and considers the whole project as CommonJS.

Expected Behavior

Should not affect top-level code

Steps To Reproduce

  1. In this environment...
  2. With this config...
  3. Run '...'
  4. See error...

Environment

  • npm:
  • Node:
  • OS:
  • platform:
@vzolin vzolin added the Needs Triage needs an initial review label Mar 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Triage needs an initial review
Projects
None yet
Development

No branches or pull requests

1 participant