Added ability to load files relative to the app root#1217
Added ability to load files relative to the app root#1217rosieks wants to merge 2 commits intoaspnet:devfrom
Conversation
|
Thanks for this, but could you clarify why you think we should make this change? It looks like you're redefining |
|
The main change is to add any root path in webpack configuration. Right now such root is no provided so when I add in any file such code Regarding setting app root to ClientApi I did that because de facto it is the app root from JavaScript perspective. I'm not sure if somebody reference from it to something outside. The main purpose was to have shorter path. But I can be wrong and it can be changed. By the way there is already second app root - |
|
Thanks again for posting this. In the next version of the ReactRedux template, the build mechanism comes entirely from create-react-app. There won't be a Webpack config file, so it would be impossible to apply this PR. As such, I'll mark this closed. Hope that's OK! |
Fix #1205