Skip to content

Commit 4897199

Browse files
authored
Improve ES-Node compatibility with exports (#37)
1 parent 25e2e70 commit 4897199

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@
1313
"repository": "fregante/github-url-detection",
1414
"license": "MIT",
1515
"author": "Federico Brigante <opensource@bfred.it> (bfred.it)",
16+
"exports": {
17+
"import": "./esm/index.js",
18+
"require": "./index.js"
19+
},
1620
"main": "cjs/index.js",
1721
"module": "esm/index.js",
1822
"files": [

0 commit comments

Comments
 (0)