96252: Make existing lodash imports tree-shakeable

This commit is contained in:
Yury Bondarenko
2022-10-24 12:39:27 +02:00
parent be43fcb47f
commit 47ae04986d
52 changed files with 74 additions and 54 deletions

View File

@@ -5,7 +5,8 @@ import {
MetadataValueFilter,
MetadatumViewModel
} from './metadata.models';
import { groupBy, sortBy } from 'lodash';
import groupBy from 'lodash/groupBy';
import sortBy from 'lodash/sortBy';
/**
* Utility class for working with DSpace object metadata.