A Rollup plugin to interact with Datadog from your builds.
- Yarn
yarn add -D @datadog/rollup-plugin- npm
npm install --save-dev @datadog/rollup-pluginInside 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.