@apm-insight-web/upload-sourcemaps-webpack-plugin

upload sourcemaps webpack plugin for apm insight web

Usage no npm install needed!

<script type="module">
  import apmInsightWebUploadSourcemapsWebpackPlugin from 'https://cdn.skypack.dev/@apm-insight-web/upload-sourcemaps-webpack-plugin';
</script>

README

upload-sourcemaps

upload sourcemaps webpack plugin for apm insight web

Install

Install with npm:

    npm install @apm-insight-web/upload-sourcemaps-webpack-plugin

Install with yarn:

    yarn add @apm-insight-web/upload-sourcemaps-webpack-plugin

Usage

const UploadSourcemapsPlugin = require('@apm-insight-web/upload-sourcemaps-webpack-plugin')

const config = {
  plugins: [
    new UploadSourcemapsPlugin({
      app_id: 'xxxxxx',
      paths: ['./dir1', './dir2'],
    }),
  ],
}