// Conditionally load the New Relic agent before any other modules. // Controlled by the NEW_RELIC_ENABLED environment variable (.env). 'use strict'; if (process.env.NEW_RELIC_ENABLED === 'true') { require('newrelic'); }