From c1ae68d9ecd87434e60a265d5594b18c1d3e24dc Mon Sep 17 00:00:00 2001 From: Alim TUNC Date: Tue, 5 Sep 2023 10:32:47 +0200 Subject: [PATCH] build: Update UI build scripts --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index bb8eb920e4..7156a78336 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "formatUi": "cd frontend && pnpm run format", "lintPython": "cd backend && poetry run mypy chainlit/", "formatPython": "black `git ls-files | grep '.py$'` && isort --profile=black .", - "buildUi": "(cd frontend && pnpm run build) && (shx mkdir -p backend/chainlit/frontend && shx cp -R frontend/dist backend/chainlit/frontend)", + "buildUi": "(cd libs/components && pnpm run build) && (cd frontend && pnpm run build) && (shx mkdir -p backend/chainlit/frontend && shx cp -R frontend/dist backend/chainlit/frontend)", "build": "pnpm run buildUi && (cd backend && poetry build)" } }