Skip to content

Commit 44dbead

Browse files
authored
fix: correct export path in package.json
This fixes module not found: Error: Invalid "exports" target "dist/index.js" defined for "."
1 parent 58c616e commit 44dbead

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
"types": "dist/index.d.ts",
1111
"exports": {
1212
".": {
13-
"default": "dist/index.js",
14-
"types": "dist/index.d.ts"
13+
"default": "./dist/index.js",
14+
"types": "./dist/index.d.ts"
1515
}
1616
},
1717
"scripts": {

0 commit comments

Comments
 (0)