Skip to content

Commit

Permalink
fix(es6): cannot import module as es6
Browse files Browse the repository at this point in the history
  • Loading branch information
jojoee committed Oct 25, 2020
1 parent 9f73e7f commit 3656daa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,4 +153,7 @@ if (typeof module !== 'undefined' &&
module.exports = {
bahttext
}
exports.default = {
bahttext
}
}

0 comments on commit 3656daa

Please sign in to comment.