Skip to content

Latest commit

 

History

History
40 lines (27 loc) · 673 Bytes

File metadata and controls

40 lines (27 loc) · 673 Bytes

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.