pruning unused dependencies (frontend)