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

Support alias in code #85

Open
winnieBear opened this issue Mar 8, 2024 · 2 comments · May be fixed by #106
Open

Support alias in code #85

winnieBear opened this issue Mar 8, 2024 · 2 comments · May be fixed by #106
Labels
good first issue Good for newcomers

Comments

@winnieBear
Copy link

winnieBear commented Mar 8, 2024

First of all, thank you very much for this amazing tool, but in the process of using , I found the ts code which uses alias or path alias, neither the generated dependency tree nor the entropy diagram, there are none of these alias dependent resource files, such as:
// src/index.ts
import { environment } from '@Environment';
import '@/a/b/c';

// tsconfig.json
"paths": {
"@/": ["./src/"],
"@Environment": ["./src/environments/environments.ts"
].

the dependencies of src/index.ts does not have the environment or the @/a/b/c

@gabotechs gabotechs added the good first issue Good for newcomers label Mar 8, 2024
@gabotechs
Copy link
Owner

Thanks for pointing that out! this should be easy to fix, stay tuned

@gabotechs gabotechs linked a pull request Jun 30, 2024 that will close this issue
@gabotechs
Copy link
Owner

I'm trying to replicate the issue but it seems to be working fine. Can you provide more info about your setup? I would be interested in knowing the full tsconfig.json, where your source files are located, and anything else you can provide that can help reproduce the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants