lynndylanhurley / redux-auth

Complete token authentication system for react + redux that supports isomorphic rendering.
Do What The F*ck You Want To Public License
2.13k stars 258 forks source link

Project root index files #87

Open jclif opened 8 years ago

jclif commented 8 years ago

I was wondering why there are files at the root of the project (index.js, bootstrap-theme.js) which export the views, instead of having the exports live in /src/index.js.

jclif commented 8 years ago

I think I figured it out; based on how other projects are doing it, there appears to be a compilation step where files are compiled using babel into a lib/ directory, which is where package.json defines the index.js file. Is there a reason these files are minified and obfuscated? It makes digging around, debugging, and understanding how redux-auth works internally a bit more difficult.