Skip to content

Backport clarification - pattern trailers #690

Description

@guybedford

I'd like to request some backporting guidance on nodejs/node#39635 as to whether it would be possible to backport this to the 12.x branch.

The reason why this requires clarification is because, strictly speaking, it is a minor change as it extends the ESM resolver to support "exports" field mappings like "./*.js": "./dist/*.js" whereas previously we only supported "./*": "./dist/*" mappings with the * always being at the end of the match key on the left.

I'm opening discussion here because if it were possible to backport this PR that would allow us to update our package guidelines sooner for package authors to encourage the new form as a best-practise whereas otherwise we would have to wait until 12 EOL until that could happen (although not that long away either now!).

Thoughts or feedback either way on this would be a great help to understand the best route forward here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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