chore(i18n): fix nx config (#4249)

This commit is contained in:
Alex Yang 2023-09-06 23:54:28 -07:00 committed by GitHub
parent a766279867
commit 0de6b748bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View File

@ -32,11 +32,9 @@
"{projectRoot}/dist", "{projectRoot}/dist",
"{projectRoot}/build", "{projectRoot}/build",
"{projectRoot}/out", "{projectRoot}/out",
"{projectRoot}/storybook-static", "{projectRoot}/storybook-static"
"{workspaceRoot}/packages/i18n/src/i18n-generated.ts"
], ],
"inputs": [ "inputs": [
"{workspaceRoot}/i18n/**/*",
"{workspaceRoot}/infra/**/*", "{workspaceRoot}/infra/**/*",
"{workspaceRoot}/sdk/**/*", "{workspaceRoot}/sdk/**/*",
{ {

View File

@ -5,6 +5,7 @@
"sourceRoot": "packages/i18n/src", "sourceRoot": "packages/i18n/src",
"targets": { "targets": {
"build": { "build": {
"outputs": ["{workspaceRoot}/src/i18n-generated.ts"],
"executor": "nx:run-commands", "executor": "nx:run-commands",
"options": { "options": {
"cwd": "packages/i18n", "cwd": "packages/i18n",