Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use node for import resolving #20

Closed
amannn opened this issue Apr 10, 2019 · 0 comments · Fixed by #25
Closed

Use node for import resolving #20

amannn opened this issue Apr 10, 2019 · 0 comments · Fixed by #25

Comments

@amannn
Copy link
Member

amannn commented Apr 10, 2019

The current resolver config needs a webpack config file which might not be available in every project. The only feature that we use from webpack is to provide src as an additional module directory.

We could achieve this by using node as well:

  "import/resolver": {
      "node": {
        "paths": [
          "node_modules",
          "src"
        ]
      }
    }

That would work in projects without webpack as well.

amannn added a commit that referenced this issue Jul 31, 2019
- Resolves #19
- Resolves #20
- Resolves #21
- Resolves #22
- Resolves #23
- Sort rules alphabetically
@amannn amannn closed this as completed in #25 Aug 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant