Revert "prune: --production option to unbuild devDependencies"

This reverts commit f65da7d7f156fd28db10042a8db6682ef70178a7.

See #4509