Fix devlow-bench: tsconfig rootDir mismatch with package.json bin (#92800)
## What Change `rootDir` from `"."` to `"src"` in `turbopack/packages/devlow-bench/tsconfig.json`. ## Why The `bin` entry in `package.json` points to `dist/cli.js`. With `rootDir: "."`, `tsc` outputs `src/cli.ts` → `dist/src/cli.js` — the bin path is never produced by the build. The `pnpm:devPreinstall` hook (from #91016) creates a placeholder stub at `dist/cli.js`. Since the build never overwrites it, turbo caches the placeholder as part of `dist/**`. On subsequent runs, turbo restores the cached placeholder, and devlow-bench fails with "Local workspace has not been built yet." ## How One-line change: `rootDir: "."` → `rootDir: "src"`. Now `tsc` outputs `src/cli.ts` → `dist/cli.js`, matching the `bin` entry. The placeholder gets properly overwritten by the build. <!-- NEXT_JS_LLM_PR -->
Showing
Please
register
or
sign in
to comment