@datadog/vite-plugin
TypeScript icon, indicating that this package has built-in type declarations

2.3.2 • Public • Published

Datadog Vite Plugin

A Vite plugin to interact with Datadog from your builds.

Installation

  • Yarn
yarn add -D @datadog/vite-plugin
  • NPM
npm install --save-dev @datadog/vite-plugin

Usage

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.

Configuration

Check the main README for the common configuration options.

Package Sidebar

Install

npm i @datadog/vite-plugin

Weekly Downloads

2,561

Version

2.3.2

License

MIT

Unpacked Size

7.19 MB

Total Files

24

Last publish

Collaborators

  • datadog