@artsy/dupe-report-plugin

0.41.1 • Public • Published

@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 Key Type Default Value
directory String path.join(process.cwd(), ".artifacts")
fileName String "duplicates-report"

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.41.1
    3
    • latest

Version History

Package Sidebar

Install

npm i @artsy/dupe-report-plugin

Weekly Downloads

2

Version

0.41.1

License

MIT

Unpacked Size

3.93 kB

Total Files

5

Last publish

Collaborators

  • joeyaghion
  • artsy-engineering
  • damassi
  • anandaroop
  • mzikherman
  • dblandin