Skip to content

[BUG] Library forces CommonJS #283

@vzolin

Description

@vzolin

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:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions