mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-24 07:36:02 +00:00
`npm dedupe` is a command that attempts to simplify the structure of the local package tree by moving dependencies higher up. This allows for more effective package sharing, less transfer, and smaller `node_modules` folders. This change configures npm to `prefer-dedupe` by default so that these benefits persist and the command is not required to be run regularly. This also brings better alignment with the Gutenberg repository, which has already configured `prefer-dedupe`. Props jonsurrell. Fixes #62190. Built from https://develop.svn.wordpress.org/trunk@59207 git-svn-id: http://core.svn.wordpress.org/trunk@58602 1a063a9b-81f0-0310-95a4-ce76da25c4cd