Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Fix babel polyfills not working in IE and older browsers - Add babel-polyfill import to main.js

ZachTRice6dcd32d0b689
diff --git a/web/js/main.js b/web/js/main.js
index f696f66db..8ce27b3d4 100644
--- a/web/js/main.js
+++ b/web/js/main.js
@@ -1,3 +1,4 @@
+import 'babel-polyfill'; // Needed for worldview-components in IE and older browsers
import $ from 'jquery';
import lodashEach from 'lodash/each';
import { GA as googleAnalytics } from 'worldview-components';