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