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
This commit is contained in:
hannesrudolph 2025-07-01 15:38:28 -06:00
parent d8d4c37510
commit 644034a344

View file

@ -5,8 +5,8 @@
"main": "./dist/index.cjs",
"exports": {
".": {
"types": "./src/index.ts",
"import": "./src/index.ts",
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"