Open SudoPlz opened 4 years ago
Any update on this?
Got this issue today.
up 👀
const defaultParsableExtensions = [".js", ".jsx", ".ts", "tsx", ".vue"];
tsx
mabe missing .
Can support webpack config?
I encountered this issue and I resolved by this way:
Replace all import 'alias' to your absolute path. eg: '.src/' -> '/Users/workstation/Development/example/mobile/src/' Run deadfile command Delete all unused files Replace all absolute paths to your alias
In our babel.config.js
we have the following, which works like a charm 😃
alias: {
client: path.resolve(__dirname, './client/')
}
Hey there,
in our project we use
module-resolver
with directory aliases, the config looks like this:but when running deadfile we get the following error:
Looks like the problem is enhanced-resolver doesn't understand that /src refers to a directory (and not a file), and is trying to find a specific file in there.
Any ideas?
Thanks