Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Fix lodash imports

Jo Sprague5ea34c4df95f
diff --git a/web/js/util/events.js b/web/js/util/events.js
index bf454b8e3..a70ed8c8d 100644
--- a/web/js/util/events.js
+++ b/web/js/util/events.js
@@ -1,4 +1,5 @@
-import { each, pull } from 'lodash';
+import each from 'lodash/each';
+import pull from 'lodash/pull';
export function events () {
var self = {};
diff --git a/web/js/util/load.js b/web/js/util/load.js
index c2c809ef4..0d8b15a04 100644
--- a/web/js/util/load.js
+++ b/web/js/util/load.js
@@ -1,5 +1,5 @@
import $ from 'jquery';
-import size from 'lodash';
+import size from 'lodash/size';
import wvui from '../ui/ui.js';
import brand from '../brand.js';
diff --git a/web/js/util/util.js b/web/js/util/util.js
index 564529ee4..5690cd9d3 100644
--- a/web/js/util/util.js
+++ b/web/js/util/util.js
@@ -1,7 +1,8 @@
/* global ntptEventTag */
import $ from 'jquery';
-import { each, isNull } from 'lodash';
+import each from 'lodash/each';
+import isNull from 'lodash/isNull';
import wvui from '../ui/ui.js';
import browser from './browser.js';
import events from './events.js';
diff --git a/web/js/wv.main.js b/web/js/wv.main.js
index e5c5714d2..5a0d9036e 100644
--- a/web/js/wv.main.js
+++ b/web/js/wv.main.js
@@ -1,6 +1,6 @@
// External Dependencies
import $ from 'jquery';
-import { each } from 'lodash';
+import each from 'lodash/each';
import {GA as googleAnalytics} from 'worldview-components';
// Utils