Skip to content

Specifying extensions make the plugin break #13

Description

@Sceat

Cannot use "exts" option

first of all the doc seems wrong on the plugin name (even if it's a fork)

{
    "plugins": [
        ["wildcard", {
            "exts": ["js", "es6", "es", "jsx", "javascript"]
        }]
    ]
}

while we have to use

{
  "plugins": ["import-directory"]
}

I can't get the plugin to work when i'm using this option

  • either like
["wildcard", {"exts": ["js"]}
  • or
["import-directory", {"exts": ["js"]}

It can't find any module anymore

Error: Cannot find module './resolvers'

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