Skip to content

Commit 976d60d

Browse files
Fix exports field in package.json (#351)
* Fix exports field in `package.json` * Use exports syntax for both new and old versions of Node --------- Co-authored-by: Mark Amery <markrobertamery@gmail.com>
1 parent e0e960a commit 976d60d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@
3737
"require": "./lib/index.js"
3838
},
3939
"./package.json": "./package.json",
40-
"./": "./"
40+
"./": "./",
41+
"./*": "./*"
4142
},
4243
"scripts": {
4344
"clean": "rm -rf lib/ dist/",

0 commit comments

Comments
 (0)