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>