Ember-cli-deploy plugin to upload source maps and submit deployment information to Raygun.
ember install ember-cli-deploy-raygun
// config/deploy.js
var ENV = {
…
raygun: {
key: '', // Raygun apiKey
token: '', // Raygun External Access Token
prefix: '', // optional url prefix for (used for sourcemaps only)
appId: '', // optional application id (used for sourcemaps only)
},
...
};
- API Key can be found on application settings page.
- Token
- Prefix is url pointing to where your files are stored (e.g
https://s3-eu-west-1.amazonaws.com/<bucketName>/
). - Application ID is the last portion of Ragun dashboard url (e.g
https://app.raygun.com/dashboard/<appId>
).
In order for sourcemaps to work enable sourcemaps generation in ember-cli-build.js
as follows:
// ./ember-cli-build.js
sourcemaps: {
enabled: true
}