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

Look if the element is in some index file higher up the hierarchy #107

Open
garyee opened this issue Apr 28, 2020 · 0 comments
Open

Look if the element is in some index file higher up the hierarchy #107

garyee opened this issue Apr 28, 2020 · 0 comments

Comments

@garyee
Copy link

garyee commented Apr 28, 2020

I use vscode for react and I have bundled all my frontend-components exports in an index file. so that I can just
import {Button,Modal} from 'frontend';

if I use the extension it prints:
import Button from '../../../frontend/graphics/Button';
which is longer and will not accumulate the imports.

It would be great if the former would be 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