From 076f9b8f6e855549b1abe49ec4da62b7872b2a0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Gr=C3=B8ngaard?= Date: Fri, 24 May 2024 15:35:58 +0200 Subject: [PATCH] chore(page-building): configure build outputs (#6768) When deploying on Vercel, this studio fails with `Error: No Output Directory named "dist" found after the Build completed.` whenever there is a cache hit. Hopefully, specifying the `outputs` of the `build` pipeline makes sure that `dist` can in fact be found in these instances. --- dev/page-building-studio/turbo.json | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 dev/page-building-studio/turbo.json diff --git a/dev/page-building-studio/turbo.json b/dev/page-building-studio/turbo.json new file mode 100644 index 00000000000..b10dd2e971f --- /dev/null +++ b/dev/page-building-studio/turbo.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://turbo.build/schema.json", + "extends": ["//"], + "pipeline": { + "build": { + "outputs": ["./sanity/**", "dist/**"] + } + } +}