Skip to content

Module entry point "nise.js" is wonky #211

@rotu

Description

@rotu

package.json lists "module": "nise.js" as an entrypoint, but the nise.js file is a UMD module, not a ES module.

Additionally, the shape of the module when I use a ESM import is wonky. Here's what I get from Node CLI:

>>> await import("nise")
[Module: null prototype] {
  default: {
    fakeServer: {
      // ...
    },
    fakeServerWithClock: {
      // ...
    },
    fakeXhr: {
      // ...
    }
  },
  fakeServer: {
    // ...
  }
}

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