⚠️ This project is currently a work in progress. Please proceed with caution.
This module contains webpack plugins to help ease Bugsnag into your webpack build process.
$ npm i --save webpack-bugsnag-plugin
constBugsnagDeployPluginBugsnagSourceMapPlugin} = ;moduleexports =// ...plugins:// WebpackS3Plugin(...)apiKey: 'e48e13207341b6bffb7fb1622282247b' // requiredreleaseStage: 'production'repository: ''branch: 'master'revision: '9fc759f7c5ecdab9d13a23ac321a106d9f1dc913'appVersion: '1.7.0'apiKey: 'e48e13207341b6bffb7fb1622282247b' // requiredpublicPath: 'http*://*example.com/build' // or `output.publicPath`appVersion: '1.7.0'overwrite: true;
Check out https://docs.bugsnag.com/api/js-source-map-upload/ for more information about uploading sourcemaps to Bugsnag.
BugsnagSourceMapPlugin plugin automatically uploads your bundle's sourcemaps to Bugsnag.
The Bugsnag API key that is used in your app.
Specifies whether to overwrite any existing version of the files for this minified url and app version. Defaults to false.
Check out https://docs.bugsnag.com/api/deploy-tracking/ for more information about Bugsnag deploy tracking.
BugsnagDeployPlugin plugin automatically pushes deploy events to Bugsnag when your webpack bundle builds successfully.
The API Key associated with the project. Informs Bugsnag which project has been deployed. This is the only required field.
The release stage (eg, production, staging) currently being deployed. (Optional, defaults to
The URL of the repository containing the source code being deployed. We can use this to link directly to your source code on GitHub, Bitbucket or GitLab from the Bugsnag dashboard. (Required for source code integration.)
The name of your source control provider. Required when repository is supplied and only for on-premise services (for cloud services the provider will be derived from the URL.)
When supplied must be one of:
github-enterprisefor GitHub Enterprise
bitbucket-serverfor Bitbucket Server (formerly Stash)
gitlab-onpremisefor GitLab CE or GitLab Enterprise
The source control branch from which you are deploying the code. (Optional, only relevant when
repository is supplied.)
The source control revision id for the code you are deploying. (Required when
repository is supplied.)
The app version of the code you are currently deploying. Only set this if you tag your releases with semantic version numbers and deploy infrequently. (Optional.)
MIT License ❤️