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
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
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
- Check out the documentation
- Search open and closed issues for similar problems
- Report a bug or request a feature
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.
This package is free software released under the MIT License. See LICENSE.txt for details.