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

Bypass index.js files #372

Open
dannyshaw opened this issue May 9, 2023 · 0 comments
Open

Bypass index.js files #372

dannyshaw opened this issue May 9, 2023 · 0 comments

Comments

@dannyshaw
Copy link

We use index.js files extensively, as redux connectors for React components

components/
  MyComponent/
    MyComponent.jsx
    index.js
  ...

It would be ideal if we could graph the dependency tree in a way that can kinda step over index.js files, ie

A -> index.js -> B

the graph would juist show A -> B

I assume this isn't possible?

secondly, if A only imports one thing from index.js, then only graph that one thing, rather than everything imported.

Are either of these things possible?

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

No branches or pull requests

1 participant