-
Notifications
You must be signed in to change notification settings - Fork 84
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
Unable to resolve index.tsx dependencies #118
Comments
hey! I don't use TS sadly, so I'd need a failing test in order to concretely understand what's not working. Any help is appreciated. |
I’m having the same problem while trying to determine the dependency tree of a |
I was able to resolve my issue with dependencyTree.toList({ filename: myFile, directory: myDir, tsConfig: { compilerOptions: { module: 'CommonJS' } } }); |
I'm working on a project where I use only const tree = dependencyTree.toList(
{
filename,
tsConfig: {
compilerOptions: {
allowSyntheticDefaultImports: true,
module: 'commonjs',
}
},
directory: './src',
nonExistent: non,
},
); |
I'm having trouble running this package over dependencies that include in index.tsx file as I'm getting the error:
tree skipping an empty filepath resolution for partial: components/lib +29ms
My index.tsx in components/lib just consists of
export * from ___
lines.I saw this similar issue here: pahen/madge#128 but it didn't seem to have a solution. Any ideas on this?
In the debug output i'm seeing:
The text was updated successfully, but these errors were encountered: