Skip to content

opts.extensions should include '.json' #19

Closed

Description

@SLaks

Node's require() can resolve JSON files without passing the extension.

Activity

  1. added a commit that references this issue on May 10, 2013
    bcdb541
  2. added a commit that references this issue on Nov 15, 2016
    b8a8bc3
  3. ljharb commented on Dec 13, 2016

    @ljharb
    Member

    It also needs to include the .node extension.

  4. ljharb commented on Jun 16, 2018

    @ljharb
    Member

    Closing this in favor of #166, to centralize further discussion.

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