0.0.1-beta.6 • Published 9 days ago

@codecov/webpack-plugin v0.0.1-beta.6

Weekly downloads
-
License
MIT
Repository
-
Last release
9 days ago

Codecov Webpack Plugin

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

A Webpack 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/webpack-plugin --save-dev

Using yarn:

yarn add @codecov/webpack-plugin --dev

Using pnpm:

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

Example

// webpack.config.js
const path = require("path");
const { codecovWebpackPlugin } = require("@codecov/webpack-plugin");

module.exports = {
  entry: "./src/index.js",
  mode: "production",
  output: {
    filename: "main.js",
    path: path.resolve(__dirname, "dist"),
  },
  plugins: [
    // Put the Codecov vite plugin after all other plugins
    codecovWebpackPlugin({
      enableBundleAnalysis: true,
      bundleName: "example-webpack-bundle",
      uploadToken: process.env.CODECOV_TOKEN,
    }),
  ],
};

More information

0.0.1-beta.7

9 days ago

0.0.1-beta.6

1 month ago

0.0.1-beta.5

2 months ago

0.0.1-beta.4

2 months ago

0.0.1-beta.3

2 months ago

0.0.1-beta.2

3 months ago

0.0.1-beta.1

3 months ago

0.0.1-beta.0

3 months ago

0.0.1-alpha.3

3 months ago

0.0.1-alpha.2

4 months ago

0.0.1-alpha.1

4 months ago

0.0.1-alpha.0

5 months ago