Skip to content
This repository has been archived by the owner on Feb 11, 2024. It is now read-only.

Bagaar/upload-ember-source-maps-to-bugsnag

Repository files navigation

Upload Ember Source Maps to Bugsnag

CI Code Style: Prettier Conventional Commits

A small script to upload Ember source maps to Bugsnag during CI, tailored to the workflow we use at Bagaar.

Usage

In the root of the project, run:

pnpm build
pnpm upload-ember-source-maps-to-bugsnag

Make sure that source maps are enabled. More info on enabling source maps can be found here.

Options

Name Description Default Value
--api-key * Bugsnag API key. Defaults to BUGSNAG_API_KEY env var.
--app-version * Version of the app. Parsed from index.html if not provided.
--bundle-host * Where the bundle is hosted. Defaults to BUGSNAG_BUNDLE_HOST env var.
--ci Only upload source maps during CI. false
--keep-source-maps Keep source maps after uploading. false

Options marked with * are required.

This script also takes a BUGSNAG_ENABLED env var into account. If set to false, uploading source maps will be skipped.

About

Upload Ember source maps to Bugsnag.

Resources

License

Stars

Watchers

Forks

Packages

No packages published