0.2.0 • Published 6 years ago

webpack-airbrake-private-sourcemaps v0.2.0

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

Webpack Airbrake Private Sourcemaps Plugin

Basic webpack plugin that uploads all sourcemap files from user defined directories to Airbrake after compilation is complete.

Meant to help with Airbrake private sourcemapping implementation.

Implementation Example:

// require plugin
const AirbrakePlugin = require('webpack-airbrake-private-sourcemaps');

// webpack plugin definition
plugins: [
  new AirbrakePlugin({
    projectId: '123', // airbrake project id
    projectKey: 'a1b2c3', // airbrake project/auth key
    host: 'https://www.github.com/dist', // your website url where the distribution files will be hosted
    directories: ['wwwroot', 'dist'], // directories to scan and upload sourcemaps from
    logging: false, // boolean to show or hide plugin logs
  })
]