import Promise from 'bluebird';

global.Promise = Promise;

if (!process.env.NODE_ENV) {
  process.env.NODE_ENV = 'development';
}

if (['production', 'circleci'].indexOf(process.env.NODE_ENV) === -1) {
  const dotenv = require('dotenv');
  dotenv.config({ path: `.env.${process.env.NODE_ENV}` });
}

// Only load newrelic when we explicitly want it
if (process.env.NEW_RELIC_LICENSE_KEY) {
  require('newrelic');
}

@@ -1,64 +1,4 @@
-import Promise from 'bluebird';%0A%0Aglobal.Promise = Promise;%0A%0A
 if (

remove global Bluebird Promise