From 1fd42349189b24e15c60f162dc8c40b42db79dfe Mon Sep 17 00:00:00 2001 From: ellenaua Date: Sat, 16 May 2020 16:49:11 +0300 Subject: [PATCH] Resolves es6 module loading issue --- moment-timezone.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moment-timezone.js b/moment-timezone.js index b625ce5f..7a535ff8 100644 --- a/moment-timezone.js +++ b/moment-timezone.js @@ -19,7 +19,7 @@ "use strict"; // Resolves es6 module loading issue - if (moment.version === undefined) { + if (moment.version === undefined && moment.default) { moment = moment.default; }