Skip to content

Latest commit

 

History

History
21 lines (18 loc) · 488 Bytes

README.md

File metadata and controls

21 lines (18 loc) · 488 Bytes

Build Status

SWPP 2018/01 Group 15

<root>/src/config.js

const merge = require('lodash/merge')

const config = {
  all: {
    env: process.env.NODE_ENV || 'development',
    apiUrl: 'http://domain',
  },
  test: {},
  development: {},
  production: {
    apiUrl: '',
  },
}

module.exports = merge(config.all, config[config.all.env])