In Webpack 1, modules importing the same version of a dependencies would be deduped via a DedupePlugin. In webpack 3, the DedupePlugin was removed. As you can see in this example, the webpack 1 output here doesn't include a third instance of lodash, but the webpack 3 output does.
The dependency structure is:
- lodash@4
- dedupe-example-dependency-a
-lodash@3
- dedupe-example-dependency-b
-lodash@3