0.9.8 • Published 6 years ago

bugsnag-sourcemap-webpack-plugin v0.9.8

Weekly downloads
431
License
MIT
Repository
github
Last release
6 years ago

BugsnagSourceMapPlugin

dependencies Travis CI npm version

A Webpack plugin to upload sourcemaps to Bugsnag after build

Installation

$ npm install --save-dev bugsnag-sourcemap-webpack-plugin

Usage

In your webpack.config.js

const BugsnagSourceMapPlugin = require('bugsnag-sourcemap-webpack-plugin');

module.exports = {
  // your settings for webpack
  devtool: 'source-map',
  plugins: [
    new BugsnagSourceMapPlugin({
      apiKey: 'YOUR_BUGSNAG_API_KEY',
      publicPath: 'https://your.site/assets/path'
    }),
  ]
}

Options

keyrequiredcontentdefault
apiKeyythe Bugsnag API key that is used in your app.-
publicPathythe Base hosted url of your compiled assets.-
appVersionthe version of the app that the source map applies to as set in the JavaScript notifier.-
silentwhether or not ignore js errors in upload to Bugsnag.false
overwritewhether to overwrite any existing version of files.false
uploadSourcewhether to upload source file (see minifiedFile in Bugsnag docs).false
removeSourceMapwhether to remove sourcemap file after uploaded.true

Reference

Bugsnag - Sourcemap Upload API

0.9.8

6 years ago

0.9.7

6 years ago

0.9.6

6 years ago

0.9.5

7 years ago

0.9.4

7 years ago

0.9.3

7 years ago

0.9.2

7 years ago

0.9.1

7 years ago

0.9.0

7 years ago