d718821515
The db package's tsconfig included both src/ and drizzle.config.ts, causing tsc to compute rootDir as the package root. Output went to dist/src/index.js instead of dist/index.js, mismatching the main field. Set explicit rootDir in both db and types tsconfigs and remove drizzle.config.ts from build include. Co-Authored-By: Paperclip <noreply@paperclip.ing>
14 lines
270 B
JSON
14 lines
270 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2022",
|
|
"module": "NodeNext",
|
|
"moduleResolution": "NodeNext",
|
|
"strict": true,
|
|
"noUncheckedIndexedAccess": true,
|
|
"skipLibCheck": true,
|
|
"outDir": "./dist",
|
|
"rootDir": "./src"
|
|
},
|
|
"include": ["src"]
|
|
}
|