Skip to content

Latest commit

 

History

History

rollup-plugin

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Datadog Rollup Plugin

A Rollup plugin to interact with Datadog from your builds.

Installation

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

Usage

Inside your rollup.config.js.

import { datadogRollupPlugin } from '@datadog/rollup-plugin';

export default {
    plugins: [
        datadogRollupPlugin({
            // 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.