-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9577eee
commit 782d537
Showing
3 changed files
with
8 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,10 @@ | ||
import projectConfig from '../../../config' | ||
|
||
const { SERVER_HOST, SERVER_PORT } = projectConfig | ||
|
||
module.exports = { | ||
host: SERVER_HOST, | ||
port: SERVER_PORT, | ||
export default { | ||
app: { | ||
htmlAttributes: { lang: 'en' }, | ||
title: 'React Redux Universal Boilerplate', | ||
titleTemplate: 'React Redux Universal Boilerplate - %s', | ||
meta: [ | ||
{ name: 'description', content: 'Another react universal starter boilerplate.' }, | ||
{ name: 'description', content: 'Another React/Redux universal boilerplate.' }, | ||
], | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
if (__DEV__) { | ||
module.exports = require('./dev') | ||
} else { | ||
module.exports = require('./prod') | ||
} | ||
const config = __DEV__ ? require('./dev').default : require('./prod').default | ||
|
||
export default config |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
const defaultConfig = require('./dev') | ||
import defaultConfig from './dev' | ||
|
||
const config = { | ||
// Over write default settings here... | ||
// extend and override dev config here. | ||
} | ||
|
||
module.exports = Object.assign({}, defaultConfig, config) | ||
export default { ...defaultConfig, config } |