oklas / react-app-alias

:label: Alias and multiple src directory for craco or rewired create-react-app
MIT License
173 stars 18 forks source link

baseUrl doesn't work in `react-app-alias-ex`. #73

Open oklas opened 2 years ago

oklas commented 2 years ago

@oklas It doesn't work in react-app-alias-ex.

When I log the output of aliasWebpack(options)(config) I can see the baseUrl is completely ignored. When I switch back to react-app-alias, and comment out the checkOutside(aliasMap) line, it does log the correct paths.

Originally posted by @thany in https://github.com/oklas/react-app-alias/issues/72#issuecomment-1084769133