Skip to content

Commit

Permalink
Improve ES-Node compatibility with exports (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
fregante authored Sep 21, 2020
1 parent 25e2e70 commit 4897199
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 @@ -13,6 +13,10 @@
"repository": "fregante/github-url-detection",
"license": "MIT",
"author": "Federico Brigante <opensource@bfred.it> (bfred.it)",
"exports": {
"import": "./esm/index.js",
"require": "./index.js"
},
"main": "cjs/index.js",
"module": "esm/index.js",
"files": [
Expand Down

0 comments on commit 4897199

Please sign in to comment.