npm.io
0.6.3 • Published 2 years agoCLI

@highlight-run/sourcemap-uploader

Licence
Apache-2.0
Version
0.6.3
Deps
3
Size
1.0 MB
Vulns
0
Weekly
0

Source Maps Uploader

Uploading source maps to Highlight

In your build pipeline, you will need to run the CLI tool. Here's how to run it:

npx @highlight-run/sourcemap-uploader upload --path="/path/to/sourcemaps"

You can also add this as an npm script

// In package.json

{
  "scripts": {
    "upload-sourcemaps": "npx @highlight-run/sourcemap-uploader upload --path=\"/path/to/sourcemaps\""
  }
}

Contributing

You can test your changes locally by running the following commands:

yarn build
node dist/index.js upload ...