webpack-sentry-plugin
Advanced tools
Comparing version 1.3.1 to 1.4.0
@@ -31,2 +31,3 @@ 'use strict'; | ||
this.baseSentryURL = options.baseSentryURL || BASE_SENTRY_URL; | ||
this.organisationSlug = options.organisation; | ||
@@ -153,3 +154,3 @@ this.projectSlug = options.project; | ||
value: function sentryReleaseUrl() { | ||
return BASE_SENTRY_URL + '/' + this.organisationSlug + '/' + this.projectSlug + '/releases'; | ||
return this.baseSentryURL + '/' + this.organisationSlug + '/' + this.projectSlug + '/releases'; | ||
} | ||
@@ -156,0 +157,0 @@ }]); |
{ | ||
"name": "webpack-sentry-plugin", | ||
"version": "1.3.1", | ||
"version": "1.4.0", | ||
"description": "Webpack plugin to upload source maps to Sentry", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -96,2 +96,4 @@ # Sentry plugin | ||
- `baseSentryURL`: URL of Sentry instance. Shouldn't need to set if using sentry.io, but useful if self hosting | ||
- `organisation`: Sentry organisation to upload files to | ||
@@ -101,3 +103,3 @@ | ||
- `apiKey`: Sentry api keys. See [Sentry docs](https://docs.sentry.io/clients/javascript/sourcemaps/#uploading-source-maps-to-sentry) for info on how to create one | ||
- `apiKey`: Sentry api key ([Generate one here](https://sentry.io/api/)) | ||
@@ -104,0 +106,0 @@ - `release`: Release name to attach source maps to. Can be string or function that returns a string |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10786
132
121