• Details for the Codecov Vite plugin.

    Parameters

    Returns Plugin<any>[]

    Example

    // vite.config.js
    import { defineConfig } from "vite";
    import { codecovVitePlugin } from "@codecov/vite-plugin";

    export default defineConfig({
    plugins: [
    // Put the Codecov vite plugin after all other plugins
    codecovVitePlugin({
    enableBundleAnalysis: true,
    bundleName: "example-vite-bundle",
    gitService: "github",
    }),
    ],
    });

    See

    Options for list of options.

Generated using TypeDoc