A Vite plugin to interact with Datadog from your builds.
- Yarn
yarn add -D @datadog/vite-plugin
- NPM
npm install --save-dev @datadog/vite-plugin
Inside your vite.config.js
.
import { datadogVitePlugin } from '@datadog/vite-plugin';
import { defineConfig } from 'vite'
export default defineConfig({
plugins: [
datadogVitePlugin({
// 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.