When esbuild bundles migrate.ts to apps/web/migrate.mjs (one directory higher than the source location), the relative `..` path in the previous implementation pointed at apps/, not apps/web/. Try both layouts and allow an explicit MIGRATIONS_DIR override. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>