Skip to content

Version 2.6.1 has incorrect configuration for CJS in package.json #1269

@yinzara

Description

@yinzara

As file with jest-fetch-mock:
jefflau/jest-fetch-mock#161 (comment)

There is a mistake in the "main" entry in the package.json release in 2.6.1 that is causing import errors.

It currently reads:

"main": "lib/index",

It should be:

"main": "lib/index.js",

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