-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Implement application configuration base on build environment #160
Comments
Interesting idea @imanhodjaev, but what about just adding a
Where the file is |
@davezuko sure we can keep application configuration inside
Edited: 6 Nov. 2015 15:50
instead of checking if
|
@imanhodjaev I totally see where you're coming from and agree that this would be useful, but I just don't think it's something that needs to be handled by the starter kit. As you've shown it's not too complicated to add this functionality, and somebody needing this sort of configuration can probably figure it out fairly quickly. That said, I wouldn't be opposed to adding more documentation to the README to demonstrate how to incorporate functionality such as this. |
@davezuko so once we know it can be implemented easily can I make a pull request with a small guide in the |
@imanhodjaev if you want to take a shot at documenting it in the README go for it. I can't say for sure that I'll merge it in, but definitely willing to consider it. |
Closing this for now, if you end up submitting a PR I'd be happy to review it. Thanks! |
Hi,
I will be very happy to implement this improvement so users can use environment based application (in browser) configuration
Possible points for implementation need to modify https://github.com/davezuko/react-redux-starter-kit/blob/master/config/index.js and change this
config
directory,config.set('app_config', 'config/application');
,app_config : project.bind(null, config.get('app_config'))
topaths
Change this
to
Or to
What do you think please advise.
The text was updated successfully, but these errors were encountered: