It is a common understanding that packages listed under devDependencies
are typically not included in the final build. So why do we remove them for the sake of performance optimization?
For instance, there are discussions about replacing Moment.js with a lighter alternative even when Moment.js is only in devDependencies
. How does this decision affect various frameworks such as Ember, React, Vue, and Angular?