Skip to content

Commit

Permalink
Resolves es6 module loading issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ellenaua committed May 16, 2020
1 parent adb7d7b commit 778c22f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion moment-timezone.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"use strict";

// Resolves es6 module loading issue
if (moment.version === undefined) {
if (moment.version === undefined && moment.default) {
moment = moment.default;
}

Expand Down

0 comments on commit 778c22f

Please sign in to comment.