Skip to content

Package viewer page breaks if package doesn't have a main export #5958

@jaydenseric

Description

@jaydenseric

The registry package viewer page breaks if the package has optimal module design and only has individual deep exports, and no main export. For example, at https://yarnpkg.com/package?name=graphql-react the error is:

Missing "." specifier in "graphql-react" package
Screenshot 2023-11-08 at 9 33 43 am

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions