Quantcast
Channel: Ember.JS - Latest topics
Viewing all articles
Browse latest Browse all 4870

Should we dedupe dependencies?

$
0
0

Modern package managers support an option to deduplicate dependencies:

  • npm dedupe or npm install --prefer-dedupe
  • yarn dedupe
  • pnpm dedupe

Is it recommended to use them to avoid different versions of the same library bundled with the app? Or is this achieved differently?

I’m not an expert when it comes to package managers to be honest. Would like to understand the trade-offs and learn what is considered best practice.

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4870

Trending Articles