From 1f0d874ea26d1036668a0c5e874c896b9cb735df Mon Sep 17 00:00:00 2001 From: Daniel Lockyer Date: Mon, 11 Dec 2023 14:54:35 +0100 Subject: [PATCH] Added default build output folders to Nx config refs https://ghost.slack.com/archives/C0568LN2CGJ/p1702302128529339 - Nx doesn't know the what the output of these apps is, so it can't restore the cache - this adds the 3 folders which we use to output the build assets --- nx.json | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/nx.json b/nx.json index 096b1ad75c..c02849413b 100644 --- a/nx.json +++ b/nx.json @@ -22,6 +22,13 @@ ] }, "targetDefaults": { + "build": { + "outputs": [ + "{projectRoot}/dist", + "{projectRoot}/es", + "{projectRoot}/umd" + ] + }, "build:ts": { "dependsOn": [ "^build:ts"