Webpack Lean Validates Webpack bundles for: duplicated packages How to use const WebpackLean = require('webpack-lean'); { plugins: [ new WebpackLean() ]}