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

2.6.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

3,138

Version

2.6.2

License

MIT

Unpacked Size

639 kB

Total Files

8

Last publish

Collaborators

  • datadog