Skip to content

Commit

Permalink
Support ES6 imports
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeMcl committed Nov 9, 2016
1 parent e48bddf commit 4df9158
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion decimal.js
Original file line number Diff line number Diff line change
Expand Up @@ -4781,7 +4781,7 @@

// Node and other environments that support module.exports.
} else if (typeof module != 'undefined' && module.exports) {
module.exports = Decimal;
module.exports = Decimal.default = Decimal.Decimal = Decimal;

// Browser.
} else {
Expand Down

0 comments on commit 4df9158

Please sign in to comment.