@vroskus/upload-sourcemaps

1.0.5 • 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",
  }
...

Readme

Keywords

Package Sidebar

Install

npm i @vroskus/upload-sourcemaps

Weekly Downloads

69

Version

1.0.5

License

MIT

Unpacked Size

4.57 kB

Total Files

4

Last publish

Collaborators

  • vroskus