Skip to content

Commit

Permalink
Merge pull request #5 from fluture-js/diego/conditional-export
Browse files Browse the repository at this point in the history
Use conditional exports
  • Loading branch information
dicearr authored Aug 6, 2020
2 parents ef4bb13 + 078a150 commit c326c23
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
"type": "module",
"main": "index.cjs",
"module": "index.js",
"exports": {
"import": "index.js",
"require": "index.cjs"
},
"scripts": {
"build": "rollup -c rollup.config.js",
"codecov": "codecov",
Expand Down

0 comments on commit c326c23

Please sign in to comment.