Support ES6 imports

pull/44/head
Michael Mclaughlin 8 years ago
parent e48bddf45a
commit 4df9158a1a

@ -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 {

Loading…
Cancel
Save