mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-24 18:32:41 +00:00
7 lines
214 B
JavaScript
7 lines
214 B
JavaScript
import nconf from 'nconf';
|
|
|
|
export default nconf
|
|
.argv()
|
|
.env({ lowerCase: true })
|
|
.file('environment', { file: `config/${process.env.NODE_ENV}.json` })
|
|
.file('defaults', { file: 'config/default.json' }); |