Skip to content

Commit d11b939

Browse files
authored
chore(package): add exports to package.json (#3)
1 parent 1a98b40 commit d11b939

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

package.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,13 @@
66
"author": "Eric Liu (https://github.com/metonym)",
77
"main": "./dist/index.js",
88
"types": "./dist/index.d.ts",
9+
"exports": {
10+
".": {
11+
"import": "./dist/index.js",
12+
"require": "./dist/index.js",
13+
"types": "./dist/index.d.ts"
14+
}
15+
},
916
"scripts": {
1017
"test": "bun test",
1118
"build": "bun --bun tsc"

0 commit comments

Comments
 (0)