From 8bf411314effd0df16876b866293ade88d7edfea Mon Sep 17 00:00:00 2001 From: yangdx Date: Tue, 14 Oct 2025 02:49:25 +0800 Subject: [PATCH] Standardize build commands and remove --emptyOutDir flag MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit • Uses exact versions from `bun.lock` without updating • Skips devDependencies, saving time and bandwidth • The --emptyOutDir already configured in vite.config.ts --- .github/workflows/pypi-publish.yml | 2 +- lightrag/api/README-zh.md | 2 +- lightrag/api/README.md | 2 +- lightrag_webui/README.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pypi-publish.yml b/.github/workflows/pypi-publish.yml index 40ed3a86..6ea4ec07 100644 --- a/.github/workflows/pypi-publish.yml +++ b/.github/workflows/pypi-publish.yml @@ -26,7 +26,7 @@ jobs: - name: Build Frontend WebUI run: | cd lightrag_webui - bun install + bun install --frozen-lockfile --production bun run build cd .. diff --git a/lightrag/api/README-zh.md b/lightrag/api/README-zh.md index 62f581fd..74d0e63e 100644 --- a/lightrag/api/README-zh.md +++ b/lightrag/api/README-zh.md @@ -37,7 +37,7 @@ pip install -e ".[api]" # Build front-end artifacts cd lightrag_webui bun install --frozen-lockfile --production -bun run build --emptyOutDir +bun run build cd .. ``` diff --git a/lightrag/api/README.md b/lightrag/api/README.md index 09e2f0db..90ebd4db 100644 --- a/lightrag/api/README.md +++ b/lightrag/api/README.md @@ -37,7 +37,7 @@ pip install -e ".[api]" # Build front-end artifacts cd lightrag_webui bun install --frozen-lockfile --production -bun run build --emptyOutDir +bun run build cd .. ``` diff --git a/lightrag_webui/README.md b/lightrag_webui/README.md index b149134b..e9edc3c5 100644 --- a/lightrag_webui/README.md +++ b/lightrag_webui/README.md @@ -21,7 +21,7 @@ LightRAG WebUI is a React-based web interface for interacting with the LightRAG Run the following command to build the project: ```bash - bun run build --emptyOutDir + bun run build ``` This command will bundle the project and output the built files to the `lightrag/api/webui` directory.