🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

@codecov/vite-plugin

Package Overview
Dependencies
Maintainers
5
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codecov/vite-plugin

Official Codecov Vite plugin

0.0.1-beta.3
npm
Version published
Weekly downloads
33K
5.17%
Maintainers
5
Weekly downloads
 
Created
Source

Codecov by Sentry logo

Codecov Vite Plugin

[!WARNING]
These plugins are currently in beta and are subject to change.

A Vite plugin that provides bundle analysis support for Codecov.

Installation

Using npm:

npm install @codecov/vite-plugin --save-dev

Using yarn:

yarn add @codecov/vite-plugin --dev

Using pnpm:

pnpm add @codecov/vite-plugin --save-dev

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",
      uploadToken: process.env.CODECOV_TOKEN,
    }),
  ],
});

More information

Keywords

Codecov

FAQs

Package last updated on 28 Feb 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts