Skip to content
This repository was archived by the owner on Mar 24, 2023. It is now read-only.

Commit 917b053

Browse files
author
Ben Junya
authored
use lodash full instead of lodash/core (#971)
use lodash full instead of lodash/core
2 parents 7272605 + fa5232c commit 917b053

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

web/init/src/services/ConfigService.js

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
import _ from 'lodash/core';
2-
import get from 'lodash/get';
3-
import isEmpty from 'lodash/isEmpty';
4-
import some from 'lodash/some';
5-
import has from 'lodash/has';
1+
// @TODO: Refactor this so its not using so much lodash
2+
// the "without" module throws if we import every lodash util piecemeal
3+
import _, { get, isEmpty, some, has } from "lodash";
64

75
export const ConfigService = {
86
getItems(groups) {

0 commit comments

Comments
 (0)