Skip to content

Commit 644034a

Browse files
committed
fix: update package.json exports to use built files instead of source
This resolves the TypeScript compilation error where imports were resolving to source files outside the configured rootDir
1 parent d8d4c37 commit 644034a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/types/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
"main": "./dist/index.cjs",
66
"exports": {
77
".": {
8-
"types": "./src/index.ts",
9-
"import": "./src/index.ts",
8+
"types": "./dist/index.d.ts",
9+
"import": "./dist/index.js",
1010
"require": {
1111
"types": "./dist/index.d.cts",
1212
"default": "./dist/index.cjs"

0 commit comments

Comments
 (0)