From 65c9d39ae61cdccfbc871605a276a89687e88e32 Mon Sep 17 00:00:00 2001 From: Luis Alvarez D Date: Fri, 11 Feb 2022 11:42:25 -0500 Subject: [PATCH] Add env vars used for provider detection as keys (#679) --- turbo.json | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/turbo.json b/turbo.json index ccd7d3567..c734b801f 100644 --- a/turbo.json +++ b/turbo.json @@ -6,7 +6,13 @@ "outputs": ["dist/**"] }, "next-commerce#build": { - "dependsOn": ["^build", "$COMMERCE_PROVIDER"], + "dependsOn": [ + "^build", + "$COMMERCE_PROVIDER", + "$BIGCOMMERCE_STOREFRONT_API_URL", + "$NEXT_PUBLIC_SHOPIFY_STORE_DOMAIN", + "$NEXT_PUBLIC_SWELL_STORE_ID" + ], "outputs": [".next/**"] }, "test": {