Skip to content

Missing "./package.json" in package.json "exports"ย #2556

@artuska

Description

@artuska

Initial checklist

Problem

Missing "./package.json" in package.json "exports":

"exports": {
   ".": "./index.js",
  "./internal-create-format-aware-processors": "./lib/util/create-format-aware-processors.js",
  "./internal-extnames-to-regex": "./lib/util/extnames-to-regex.js"
},

Solution

Just add "./package.json" in package.json "exports" like that:

"exports": {
  "./package.json": "./package.json",
   ".": "./index.js",
  "./internal-create-format-aware-processors": "./lib/util/create-format-aware-processors.js",
  "./internal-extnames-to-regex": "./lib/util/extnames-to-regex.js"
},

Alternatives

Just add "./package.json" in package.json "exports".

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