Skip to content
This repository has been archived by the owner on Feb 19, 2022. It is now read-only.

FormidableLabs/inspectpack-duplicates-blog-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Inspectpack DuplicatesPlugin Examples

Examples for DuplicatesPlugin blog post.

We provide the following scenarios for bundles:

  • new-webpack
    • new-npm-flattened
    • new-npm-flattened-identical: Flattened, but different packages have identical files that webpack may be able to collapse
    • new-npm-unflattened: Same versions of a lib cannot be flattened
    • old-npm
  • old-webpack
    • new-npm-flattened
    • new-npm-flattened-identical
    • new-npm-unflattened
    • old-npm

Install

$ yarn
$ cd scenarios/old-webpack && yarn && cd ../..
$ cd scenarios/new-webpack && yarn && cd ../..

Build

$ yarn build

Quality

$ yarn lint

About

Examples for Inspectpack DuplicatesPlugin blog post.

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published