const config = Object.assign({
  development: {
    api: {
      trade_events: {
        host: 'https://intrasearch.govwizely.com/v1/trade_events',
      },
    },
  },
  production: {
    api: {
      trade_events: {
        host: 'https://intrasearch.export.gov/v1/trade_events',
      },
    },
  },
});

export default config[process.env.NODE_ENV];

import assign from 'object-assign';

const config = assign({
  development: {
    api: {
      trade_events: {
        host: 'https://intrasearch.govwizely.com/v1/trade_events',
      },
    },
  },
  production: {
    api: {
      trade_events: {
        host: 'https://intrasearch.export.gov/v1/trade_events',
      },
    },
  },
});

export default config[process.env.NODE_ENV];

Use object-assign instead of Object.assign
Use object-assign instead of Object.assign
