@replayio/sourcemap-upload-webpack-plugin
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

@replayio/sourcemap-upload-webpack-plugin

Wraps Replay's sourcemap-upload module in a Webpack plugin so that it will execute automatically when the Webpack build has completed.

PluginOptions

The Webpack plugin, which is the default export of this module, exposes all of the same options as sourcemap-upload, along with some additional:

export interface PluginOptions extends UploadOptions {
  // Choose how verbose the plugin should be when logging.
  logLevel?: "quiet" | "normal" | "verbose";

  // Normally failure to upload the sourcemaps will result
  // in a build error. If you'd like to simply warn instead
  // of failing in this case, you can set this to true.
  warnOnFailure?: boolean;
}

Readme

Keywords

none

Package Sidebar

Install

npm i @replayio/sourcemap-upload-webpack-plugin

Weekly Downloads

80

Version

2.0.0

License

BSD-3-Clause

Unpacked Size

12.5 kB

Total Files

10

Last publish

Collaborators

  • andarist
  • brianvaughn
  • acemarke
  • bhackett1024
  • dmiller_replay
  • holger_replay
  • ryanjduffy
  • jcmorrow
  • jasonlaster11