Closed oklas closed 2 years ago
Are there any workaround for this issue? is this considered a bug?
Thank you for full description. Yesterday I spent some time on this question, I hope there will be more time and information today.
This is actually a duplicate of #10, so let us move there. I will add a reference to this issue to avoid missing of some details.
Released in react-app-alias-v2.2.0
:tada:. Check for Using baseUrl section in readme. Feel free to reopen or create new if any. Thanks.
Originally posted by @MassMessage in https://github.com/oklas/react-app-rewire-alias/issues/2
this is not working for me:
I get the error:
but this is working:
tsconfig.paths.json is defined like this:
What am I missing?
I just found out alias(configPaths()) isn't considering the
baseUrl
intsconfig.paths.json
a file when generating the paths so give the paths in the orginal poster, it is generating:instead of:
note it's missing the
src
folder as defined in thebaseUrl
in thetsconfig.paths.json
file. Any workaround for this to keep usingalias(configPaths())
Originally posted by @MassMessage in https://github.com/oklas/react-app-rewire-alias/issues/2