@vroskus/upload-sourcemaps

1.0.9 • Public • Published

@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

  1. 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)"
  }
...
  1. Call upload-sourcemaps after running build. Example:
// package.json
...
  "scripts": {
    "upload:sourcemaps": "upload-sourcemaps",
  }
...

Dependencies (1)

Dev Dependencies (1)

Package Sidebar

Install

npm i @vroskus/upload-sourcemaps

Weekly Downloads

12

Version

1.0.9

License

MIT

Unpacked Size

3.51 kB

Total Files

4

Last publish

Collaborators

  • vroskus