Open hazem3500 opened 4 years ago
Same issue, anyone resolved this or has some hints?
same for me. Would be nice to have it working!
In my case as I'm using TypeScript aliases, I solved it by providing the import name instead of the module path.
For example if you use
import { T } from "my-custom-components"
<T>text</T>
Then you would provide
customTransComponents: [["my-custom-components", 'T']]
Describe the bug I've made a custom local Trans component then added the path to it in my .babelrc, but after running the extraction script the keys in the
Trans
component don't get extractedHow to reproduce
Babel configuration:
Reproduction:
Expected behavior
The keys in the Trans component should be extracted
What actually happens
The keys weren't extracted
Your environment