Skip to content

define main in package.jsonΒ #72

@rafipiccolo

Description

@rafipiccolo

import-js/eslint-plugin-import#3114

Hi,

i dont understand it fully, but it looks like the linky package currently uses the exports field in its package.json to define its entry points. However, some tools, such as eslint-plugin-import, do not yet support the exports field. This causes resolution errors when importing this package.

For compatibility with such tools, could you add a main field to the package.json? For example:

"main": "./dist/lib/index.js"

This would make the package easier to use in a wider variety of environments.

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions