Skip to content

Commit 962c90a

Browse files
committed
build: fix paths for package.json exports
1 parent e3487e5 commit 962c90a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

package.json

+4-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "0.0.0-development",
44
"description": "",
55
"type": "module",
6-
"main": "./dist/src/index.js",
6+
"main": "./dist/index.js",
77
"scripts": {
88
"test:generate-client": "prisma generate --schema ./tests/prisma/schema.prisma",
99
"test:push-schema": "prisma db push --schema ./tests/prisma/schema.prisma",
@@ -17,8 +17,9 @@
1717
},
1818
"exports": {
1919
".": {
20-
"import": "./dist/src/index.js",
21-
"require": "./dist/src/index.js"
20+
"types": "./dist/index.d.ts",
21+
"import": "./dist/index.js",
22+
"require": "./dist/index.js"
2223
}
2324
},
2425
"files": [

0 commit comments

Comments
 (0)