Fix tsconfig rootDir for correct dist output paths #41
Reference in New Issue
Block a user
Delete Branch "fix/docker-ts-build"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
tsconfig.jsonincludeddrizzle.config.tsalongsidesrc/, which causedtscto computerootDiras the package rootdist/src/index.jsinstead ofdist/index.js, mismatching themain: ./dist/index.jsfieldERR_MODULE_NOT_FOUNDbecause it couldn't resolve the package entry pointFix
rootDir: ./srcin bothpackages/dbandpackages/typestsconfigsdrizzle.config.tsfrom db's build include (only needed by drizzle-kit at dev time)Test plan
dist/index.jsin packages🤖 Generated with Claude Code