in current package.json, the exports point to files that no longer exists:
{
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
"./package.json": "./package.json",
".": {
"types": "./dist/index.d.ts",
"module": "./dist/index.mjs", <- out of date
"import": "./dist/index.mjs", <- out of date
"default": "./dist/index.js" <- out of date
}
}
}
in current
package.json
, theexports
point to files that no longer exists:the correct exports should be: