Skip to content

bugsnag/bugsnag-source-maps

Repository files navigation

@bugsnag/source-maps

Installation

You can install @bugsnag/source-maps locally to your project:

npm install --save-dev @bugsnag/source-maps yarn add --dev @bugsnag/source-maps

You can then run the CLI using the convenience tools for each package manager:

npx bugsnag-source-maps [...args] yarn run bugsnag-source-maps [...args]

Or you can install the bugsnag-source-maps CLI tool globally on your system:

npm install --global @bugsnag/source-maps yarn global add @bugsnag/source-maps

System requirements

@bugsnag/source-maps requires Node.js v10+

Usage

See the Bugsnag docs website for full usage documentation.

bugsnag-source-maps --help bugsnag-source-maps <command> Available commands upload-browser upload-node upload-react-native Options -h, --help show this message --version output the version of the CLI module 

Bugsnag On-Premise

If you are using Bugsnag On-premise, you should use the endpoint option to set the url of your upload server, for example:

bugsnag-source-maps upload-browser \ --endpoint https://bugsnag.my-company.com/ # ... other options

Support

Contributing

Most updates to this repo will be made by Bugsnag employees. We are unable to accommodate significant external PRs such as features additions or any large refactoring, however minor fixes are welcome. See contributing for more information.

License

This package is free software released under the MIT License. See LICENSE.txt for details.