-
-
Notifications
You must be signed in to change notification settings - Fork 390
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: switch back from lodash-es to lodash to avoid ESM issues
- Loading branch information
Theo Ephraim
committed
Jun 27, 2023
1 parent
d45ba03
commit c808eed
Showing
11 changed files
with
46 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
// re-export just what we need from lodash | ||
// we do this so we can use a single import, but hopefully | ||
// it helps keep bundle sizes down in front-end projects using this lib | ||
|
||
export { default as compact } from 'lodash/compact'; | ||
|
||
export { default as each } from 'lodash/each'; | ||
export { default as filter } from 'lodash/filter'; | ||
export { default as find } from 'lodash/find'; | ||
export { default as flatten } from 'lodash/flatten'; | ||
export { default as get } from 'lodash/get'; | ||
export { default as groupBy } from 'lodash/groupBy'; | ||
export { default as isArray } from 'lodash/isArray'; | ||
export { default as isBoolean } from 'lodash/isBoolean'; | ||
export { default as isEqual } from 'lodash/isEqual'; | ||
export { default as isFinite } from 'lodash/isFinite'; | ||
export { default as isInteger } from 'lodash/isInteger'; | ||
export { default as isNil } from 'lodash/isNil'; | ||
export { default as isNumber } from 'lodash/isNumber'; | ||
export { default as isObject } from 'lodash/isObject'; | ||
export { default as isString } from 'lodash/isString'; | ||
export { default as keyBy } from 'lodash/keyBy'; | ||
export { default as keys } from 'lodash/keys'; | ||
export { default as map } from 'lodash/map'; | ||
export { default as omit } from 'lodash/omit'; | ||
export { default as pickBy } from 'lodash/pickBy'; | ||
export { default as set } from 'lodash/set'; | ||
export { default as some } from 'lodash/some'; | ||
export { default as sortBy } from 'lodash/sortBy'; | ||
export { default as times } from 'lodash/times'; | ||
export { default as unset } from 'lodash/unset'; | ||
export { default as values } from 'lodash/values'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters