mirror of
git://develop.git.wordpress.org/
synced 2025-01-16 12:29:54 +01:00
Build/Test Tools: Configure npm to prefer-dedupe
.
`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. git-svn-id: https://develop.svn.wordpress.org/trunk@59207 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
292769dde9
commit
e9e9d291f1
1
.npmrc
1
.npmrc
@ -1,4 +1,5 @@
|
||||
engine-strict = true
|
||||
legacy-peer-deps = true
|
||||
lockfile-version = 3
|
||||
prefer-dedupe = true
|
||||
save-exact = true
|
||||
|
1856
package-lock.json
generated
1856
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user