diff --git a/nx.json b/nx.json index f73f03da6d..adbc4b1b64 100644 --- a/nx.json +++ b/nx.json @@ -24,6 +24,14 @@ "targetDefaults": { "build": { "dependsOn": ["^build"], + "outputs": [ + "{projectRoot}/dist", + "{projectRoot}/build", + "{projectRoot}/out", + "{projectRoot}/node_modules/.cache", + "apps/web/.next/cache", + "packages/storybook/storybook-static" + ], "inputs": [ { "runtime": "node -v"