Skip to content

Issues with the latest version #742

Open
@pradnyakambli1984

Description

@pradnyakambli1984

Hello,

We are using axe-core/react package in our code base and the latest update is creating code compilation issues.
On further debugging observed that the following code in the package.json of this package is a problem -

"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
}
},

The paths should be prefixed as "dist/" instead of "./dist/".


axe-core version: "^4.5.2"
@axe-core/react: "^4.5.2"

- Node version: 18
- Platform:  Windows

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions