Socket
Socket
Sign inDemoInstall

@codecov/rollup-plugin

Package Overview
Dependencies
2
Maintainers
5
Versions
15
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codecov/rollup-plugin


Version published
Maintainers
5
Created

Readme

Source

Codecov by Sentry logo

Codecov Rollup Plugin

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

A Rollup plugin that provides bundle analysis support for Codecov.

The plugin does not support code coverage, see our docs to set up coverage today!

Installation

Using npm:

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

Using yarn:

yarn add @codecov/rollup-plugin --dev

Using pnpm:

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

Example

// rollup.config.js
import { defineConfig } from "rollup";
import { codecovRollupPlugin } from "@codecov/rollup-plugin";

export default defineConfig({
  plugins: [
    // Put the Codecov rollup plugin after all other plugins
    codecovRollupPlugin({
      enableBundleAnalysis: true,
      bundleName: "example-rollup-bundle",
      uploadToken: process.env.CODECOV_TOKEN,
    }),
  ],
});

More information

Keywords

FAQs

Last updated on 18 Jun 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc