Enable new relic support in container builds.

This commit is contained in:
Rob 2015-12-02 11:16:20 -08:00
parent abfce4299c
commit b783f6f5fe
2 changed files with 3 additions and 0 deletions

View file

@ -119,6 +119,7 @@
"uglify-js": "^2.5.0" "uglify-js": "^2.5.0"
}, },
"optionalDependencies": { "optionalDependencies": {
"newrelic": "^1.24.0",
"webworker-threads": "~0.5.5" "webworker-threads": "~0.5.5"
}, },
"license": "MIT for the code, and CC-BY for the art and music", "license": "MIT for the code, and CC-BY for the art and music",

View file

@ -1,3 +1,5 @@
require 'newrelic' if process.env.NEW_RELIC_LICENSE_KEY?
do (setupLodash = this) -> do (setupLodash = this) ->
GLOBAL._ = require 'lodash' GLOBAL._ = require 'lodash'
_.str = require 'underscore.string' _.str = require 'underscore.string'