use lodash-es instead of lodash to fix failing test (and enable better treeshaking)

This commit is contained in:
Jacob Overgaard
2023-01-18 11:18:38 +01:00
parent f6a8dd94e6
commit e0ae629f83
4 changed files with 22 additions and 14 deletions

View File

@@ -1,5 +1,4 @@
import lodash from 'lodash';
const { kebabCase, camelCase, startCase } = lodash;
import { kebabCase, camelCase, startCase } from 'lodash-es';
const pascalCase = (str) => startCase(str).replace(/ /g, '');
const tagNamePrefix = 'umb-';