Skip to content

Commit c4a4951

Browse files
committed
Fix lodash imports
1 parent db4352d commit c4a4951

File tree

1 file changed

+15
-17
lines changed

1 file changed

+15
-17
lines changed

src/toolbox/string-tools.ts

Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,20 @@
11
import { GluegunStrings } from './strings-types'
22
import { is } from './utils'
3-
import {
4-
camelCase,
5-
kebabCase,
6-
lowerCase,
7-
lowerFirst,
8-
pad,
9-
padEnd,
10-
padStart,
11-
repeat,
12-
snakeCase,
13-
startCase,
14-
trim,
15-
trimEnd,
16-
trimStart,
17-
upperCase,
18-
upperFirst,
19-
} from 'lodash'
3+
import camelCase from 'lodash/camelCase'
4+
import kebabCase from 'lodash/kebabCase'
5+
import lowerCase from 'lodash/lowerCase'
6+
import lowerFirst from 'lodash/lowerFirst'
7+
import pad from 'lodash/pad'
8+
import padEnd from 'lodash/padEnd'
9+
import padStart from 'lodash/padStart'
10+
import repeat from 'lodash/repeat'
11+
import snakeCase from 'lodash/snakeCase'
12+
import startCase from 'lodash/startCase'
13+
import trim from 'lodash/trim'
14+
import trimEnd from 'lodash/trimEnd'
15+
import trimStart from 'lodash/trimStart'
16+
import upperCase from 'lodash/upperCase'
17+
import upperFirst from 'lodash/upperFirst'
2018

2119
const pluralize = (word: string, count?: number, inclusive?: boolean) => require('pluralize')(word, count, inclusive)
2220
pluralize.plural = (word: string) => require('pluralize').plural(word)

0 commit comments

Comments
 (0)