From 5473a12c0e44673825c00cc144976342ac1b10fc Mon Sep 17 00:00:00 2001 From: Alex Yang Date: Mon, 19 Jun 2023 11:13:59 +0800 Subject: [PATCH] build: fix nx output (#2817) --- nx.json | 8 ++++++++ 1 file changed, 8 insertions(+) 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"