Skip to content

Latest commit

 

History

History

esbuild-plugin

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Datadog ESBuild Plugin

A ESBuild plugin to interact with Datadog from your ESBuild builds.

Installation

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

Usage

const { datadogEsbuildPlugin } = require('@datadog/esbuild-plugin');

require('esbuild').build({
    plugins: [
        datadogEsbuildPlugin({
            // 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.