JSPM

  • Created
  • Published
  • Downloads 6589
  • Score
    100M100P100Q201714F
  • License MIT

Datadog Rspack Plugin

Package Exports

    Readme

    Datadog Rspack Plugin

    A Rspack plugin to interact with Datadog from your builds.

    Installation

    • Yarn
    yarn add -D @datadog/rspack-plugin
    • NPM
    npm install --save-dev @datadog/rspack-plugin

    Usage

    Inside your rspack.config.js.

    const { datadogRspackPlugin } = require('@datadog/rspack-plugin');
    
    module.exports = {
        plugins: [
            datadogRspackPlugin({
                // Configuration
            }),
        ],
    };

    [!TIP] It is important to have the plugin in the first position in order to report every other plugins.

    Configuration

    Check the main README for the common configuration options.