Created
June 16, 2016 01:45
-
-
Save Hendrixer/d1447f141d380a8648563c1c0f0aaced to your computer and use it in GitHub Desktop.
tsc
This file contains hidden or 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
import * as _ from 'lodash'; | |
import {Config} from '../interfaces'; | |
const ENV: string = process.env.NODE_ENV = process.env.NODE_ENV || 'dev'; | |
let mainConfig: Config = { | |
}; | |
export const config: Config = _.merge(mainConfig, require(`./${ENV}`).default); // what ever file is required here does not get bundled |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment