-
-
Notifications
You must be signed in to change notification settings - Fork 124
Closed
Description
I'm using this module in react-native project and without next modification to package.json file it throws warning
warn Package normalize-url has been ignored because it contains invalid configuration.
Reason: Package subpath './package.json' is not defined by "exports" in node_modules/normalize-url/package.json
Modification needed
{
"exports": {
".": "./index.js",
"./package.json": "./package.json"
}
}I think it's because of Introducing the "exports" field prevents consumers of a package from using any entry points that are not defined docs and webpack needs access to package.json
Metadata
Metadata
Assignees
Labels
No labels