Skip to content

Use throwIfNoEntry for default isFile and isDirectory #255

Description

@markjm

Similar to webpack/enhanced-resolve#316

Performance of skipping error generation is significant (mini-benchmark present in above issue) and the API is backward compatible.

Since this project doesnt use graceful-fs, this change should be available to make right now. I do somewhat worry about usage of monkeypatched graceful-fs, though, as that seems to fall into a weird grey area of deciding semver.

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