Skip to content

Commit d40ae7a

Browse files
Merge pull request #326 from TheLudd/export
use correct fields for entry points in package.json
2 parents 64976df + 4a78dc2 commit d40ae7a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

package.json

+4-2
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,10 @@
3535
"/package.json"
3636
],
3737
"main": "index.js",
38-
"types": "index.d.ts",
39-
"module": "index.mjs",
38+
"exports": {
39+
"require": "./index.js",
40+
"import": "./index.mjs"
41+
},
4042
"scripts": {
4143
"doctest": "sanctuary-doctest",
4244
"generate-es": "scripts/generate-es",

0 commit comments

Comments
 (0)