Skip to content

Commit 21f7b2d

Browse files
committed
Exports clarification
1 parent bc34a79 commit 21f7b2d

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

package.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,11 @@
3636
"main": "./dist/index.js",
3737
"types": "./dist/index.d.ts",
3838
"exports": {
39-
"types": "./dist/index.d.ts",
40-
"import": "./dist/index.esm.js",
41-
"require": "./dist/index.cjs.js"
39+
".": {
40+
"types": "./dist/index.d.ts",
41+
"import": "./dist/index.esm.js",
42+
"require": "./dist/index.cjs.js"
43+
}
4244
},
4345
"scripts": {
4446
"build": "pnpm run build:src && pnpm run build:tests",

0 commit comments

Comments
 (0)