From 0de6b748bb5ed0242546b952301d86b8d4e36d12 Mon Sep 17 00:00:00 2001 From: Alex Yang Date: Wed, 6 Sep 2023 23:54:28 -0700 Subject: [PATCH] chore(i18n): fix nx config (#4249) --- nx.json | 4 +--- packages/i18n/project.json | 1 + 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/nx.json b/nx.json index 9de2ef9eab..22a1ae8c24 100644 --- a/nx.json +++ b/nx.json @@ -32,11 +32,9 @@ "{projectRoot}/dist", "{projectRoot}/build", "{projectRoot}/out", - "{projectRoot}/storybook-static", - "{workspaceRoot}/packages/i18n/src/i18n-generated.ts" + "{projectRoot}/storybook-static" ], "inputs": [ - "{workspaceRoot}/i18n/**/*", "{workspaceRoot}/infra/**/*", "{workspaceRoot}/sdk/**/*", { diff --git a/packages/i18n/project.json b/packages/i18n/project.json index 17cce58df6..009124d9dc 100644 --- a/packages/i18n/project.json +++ b/packages/i18n/project.json @@ -5,6 +5,7 @@ "sourceRoot": "packages/i18n/src", "targets": { "build": { + "outputs": ["{workspaceRoot}/src/i18n-generated.ts"], "executor": "nx:run-commands", "options": { "cwd": "packages/i18n",