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 1cf8dd2 commit 1fd4234
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion moment-timezone.js
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 1fd4234

Please sign in to comment.