@vroskus/upload-sourcemaps
v1.0.9
Published
Tool for uploading project sourcemaps to Sentry
Downloads
19
Readme
@vroskus/upload-sourcemaps
Tool for uploading project sourcemaps to Sentry.
Installation
Call:
npm install -D @vroskus/upload-sourcemaps
yarn add -D @vroskus/upload-sourcemaps
Usage
- Ensure that you have added configuration to package.json. Example:
// package.json
...
"uploadSourcemapsConfig": {
"org": "<Sentry Organization slug>",
"project": "<Sentry Project slug>",
"authToken": "<Sentry Authentication token for API>",
"filesPath": "Path to sourcemap files (optional)"
}
...
- Call
upload-sourcemaps
after running build. Example:
// package.json
...
"scripts": {
"upload:sourcemaps": "upload-sourcemaps",
}
...