1.1.2 • Published 11 months ago

@debugmate/webpack-plugin-test v1.1.2

Weekly downloads
-
License
ISC
Repository
-
Last release
11 months ago

Debugmate Webpack Plugin

Description

The Debugmate Webpack Plugin is a tool designed to help identify and report errors during the Webpack build process. It also sends source maps to show exactly where the error occurred in your application. During the build, the plugin captures errors and sends detailed reports to Debugmate.

Installation

Add the plugin to your project:

npm install @debugmate/webpack-plugin

Usage

To use the Debugmate Webpack Plugin, add it to your Webpack configuration:

const { DebugmateWebpackPlugin } = require('@debugmate/webpack-plugin');

module.exports = {
  // ... other Webpack configurations ...
  devtool: "source-map",
  plugins: [
    new DebugmateWebpackPlugin({
      domain: "https://your-new-domain.com",
      token: "new-api-token",
      user: {
        id: 123,
        name: "Jane Doe",
        email: "jane.doe@example.com",
      },
      environment: {
        environment: "staging",
        debug: true,
        timezone: "PST",
        server: "apache",
      },
      request: {
        url: "https://api.example.com/resource",
        method: "POST",
        params: { key: "value" },
      },
    }),
  ],
};

Configuration

  • domain: URL of the server where error reports will be sent.
  • token: Authentication token for the server.
  • user: User information (id, name, email).
  • environment: Environment information (environment, debug, timezone, server).
  • request: Request information (url, method, params).
1.1.2

11 months ago

1.1.1

11 months ago

1.1.0

11 months ago

1.0.9

11 months ago

1.0.8

11 months ago

1.0.7

11 months ago

1.0.6

11 months ago

1.0.5

11 months ago

1.0.3

11 months ago

1.0.2

11 months ago

1.0.1

11 months ago

1.0.0

11 months ago