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-pluginconst { 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.