diff --git a/.changeset/fix-tarballs-build.md b/.changeset/fix-tarballs-build.md new file mode 100644 index 0000000000..c61d62bc2e --- /dev/null +++ b/.changeset/fix-tarballs-build.md @@ -0,0 +1,4 @@ +--- +--- + +Fix the `tarballs` Vercel project so workspace dependencies are built before packing — without this, every preview tarball ships with an empty `dist/` directory and downstream installs fail to resolve `dist/*` entry points. diff --git a/tarballs/vercel.json b/tarballs/vercel.json index 88798a2855..b2cc93be4f 100644 --- a/tarballs/vercel.json +++ b/tarballs/vercel.json @@ -1,6 +1,6 @@ { "$schema": "https://openapi.vercel.sh/vercel.json", - "buildCommand": "pnpm --filter tarballs build", + "buildCommand": "pnpm turbo build --filter=tarballs", "installCommand": "pnpm install --frozen-lockfile", "outputDirectory": "public", "framework": null