diff --git a/src/utils/cache.ts b/src/utils/cache.ts index 8517a78..6891faf 100644 --- a/src/utils/cache.ts +++ b/src/utils/cache.ts @@ -1,6 +1,6 @@ // import from npm import Promise = require("bluebird"); -import "core-js"; +import * as Map from "core-js/library/fn/map"; import { assignIn, forEach } from "lodash"; // declare an interface for the object that is diff --git a/src/utils/get-dom-marker-icon.ts b/src/utils/get-dom-marker-icon.ts index dcca2df..1afdf58 100644 --- a/src/utils/get-dom-marker-icon.ts +++ b/src/utils/get-dom-marker-icon.ts @@ -1,4 +1,4 @@ -import "core-js"; +import * as Map from "core-js/library/fn/map"; /** * Map for HTML strings against H.map.DomIcon instances diff --git a/src/utils/get-link.ts b/src/utils/get-link.ts index db037ac..361b2de 100644 --- a/src/utils/get-link.ts +++ b/src/utils/get-link.ts @@ -1,5 +1,5 @@ // import from npm -import "core-js"; +import * as Map from "core-js/library/fn/map"; import { assignIn } from "lodash"; // declare an interface for the object that is diff --git a/src/utils/get-marker-icon.ts b/src/utils/get-marker-icon.ts index 486d868..5816cb2 100644 --- a/src/utils/get-marker-icon.ts +++ b/src/utils/get-marker-icon.ts @@ -1,4 +1,4 @@ -import "core-js"; +import * as Map from "core-js/library/fn/map"; /** * Map for image URL strings against H.map.Icon instances diff --git a/src/utils/mixin.ts b/src/utils/mixin.ts index 47268e5..2bea7e1 100644 --- a/src/utils/mixin.ts +++ b/src/utils/mixin.ts @@ -1,4 +1,5 @@ -import "core-js"; +import * as Reflect from "core-js/library/fn/reflect"; +import * as Symbol from "core-js/library/fn/symbol"; export function mixin(behaviour: any, sharedBehaviour: any = {}) { // these keys reflect the behaviour that is to be attached to class instances