Skip to content

Latest commit

 

History

History

webpack-plugin

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Datadog Webpack Plugin

A Wepack plugin to interact with Datadog from your Webpack builds.

Installation

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

Usage

Inside your webpack.config.js.

const { datadogWebpackPlugin } = require('@datadog/webpack-plugin');

module.exports = {
    plugins: [
        datadogWebpackPlugin({
            // 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.