Skip to content

Commit 81bb8e5

Browse files
committed
[meta] add exports
Hopefully this technically-breaking change won't break anyone in practice. Specifiers this continues to allow: - is-async-function - is-async-function/package.json Specifiers this no longer allows: - is-async-function/ - is-async-function/index - is-async-function/index.d - is-async-function/index.d.ts - is-async-function/index.js - is-async-function/package - is-async-function/test - is-async-function/test/ - is-async-function/test/index - is-async-function/test/index.js - is-async-function/test/uglified - is-async-function/test/uglified.js - is-async-function/tsconfig - is-async-function/tsconfig.json
1 parent 3bfc99c commit 81bb8e5

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
@@ -3,6 +3,10 @@
33
"version": "2.1.0",
44
"description": "Determine if a function is a native async function.",
55
"main": "index.js",
6+
"exports": {
7+
".": "./index.js",
8+
"./package.json": "./package.json"
9+
},
610
"scripts": {
711
"prepack": "npmignore --auto --commentLines=autogenerated",
812
"prepublishOnly": "safe-publish-latest",

0 commit comments

Comments
 (0)