We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm using create-react-app and have a file like this in the root of my project:
{ "compilerOptions": { "baseUrl": "src" } }
So all of my imports look like
import { abc } from 'components/XYZ'
for a file in src/components/XYZ.js
src/components/XYZ.js
Right now when I run deadfile it shows every single file as being dead. eg:
673 total files found! 670 dead files found! ...
Is it possible to configure it so I can tell it the baseUrl is src?
baseUrl
src
Kudos on the lib btw, it looks really nicely put together!
The text was updated successfully, but these errors were encountered:
Hi @bradrobertson, Thanks for creating this issue. Unfortunately, deadfile currently supports:
Sorry, something went wrong.
I tried to add a tsconfig.json file with the baseUrl config but this tool still can't seem to resolve the imports. Any idea?
No branches or pull requests
I'm using create-react-app and have a file like this in the root of my project:
So all of my imports look like
for a file in
src/components/XYZ.js
Right now when I run deadfile it shows every single file as being dead.
eg:
Is it possible to configure it so I can tell it the
baseUrl
issrc
?Kudos on the lib btw, it looks really nicely put together!
The text was updated successfully, but these errors were encountered: