Socket
Socket
Sign inDemoInstall

@artsy/dupe-report-plugin

Package Overview
Dependencies
37
Maintainers
14
Versions
21
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @artsy/dupe-report-plugin

The webpack plugin for dupe-report


Version published
Maintainers
14
Install size
5.22 MB
Created

Readme

Source

@artsy/dupe-report-plugin

A webpack plugin (currently building off of inspectpack) that generates a duplicates report for every build. This report is intended to be used with @artsy/dupe-report for the purposes of communicating when new duplicates are shipped in your production js bundles.

Installation

yarn add --dev @artsy/dupe-report-plugin

Usage

In your webpack.config.js file

const { DuplicateReportPlugin } = require("@artsy/dupe-report-plugin");

module.exports = {
  //...
  plugins: [
    new DuplicateReportPlugin(options)
  ]
}

Options

Option KeyTypeDefault Value
directoryStringpath.join(process.cwd(), ".artifacts")
fileNameString"duplicates-report"

FAQs

Last updated on 05 Mar 2021

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc