r-park / todo-react-redux

Todo app with Create-React-App • React-Redux • Firebase • OAuth
https://todo-react-redux.firebaseapp.com
MIT License
1.02k stars 272 forks source link

How are you resolving 'src/core/auth'? #56

Closed ninjasort closed 8 years ago

ninjasort commented 8 years ago

I don't see any webpack config resolving imports like src/core/auth. How are you resolving that?

r-park commented 8 years ago

Hi @cameronroe

src resolves relative to the project root directory, which is set in webpack.config.js,

ninjasort commented 8 years ago

Cool, thanks @r-park.

I discovered I had my resolve.root set to the src directory, which then would use core/auth instead of src/core/auth. I prefer it that way considering that I mostly will only need to reference directories in the src dir. Cheers.