A ESBuild plugin to interact with Datadog from your ESBuild builds.
- Yarn
yarn add -D @datadog/esbuild-plugin
- NPM
npm install --save-dev @datadog/esbuild-plugin
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.
Check the main README for the common configuration options.