Standardize build commands and remove --emptyOutDir flag
• Uses exact versions from `bun.lock` without updating • Skips devDependencies, saving time and bandwidth • The --emptyOutDir already configured in vite.config.ts
This commit is contained in:
parent
ee45ab5104
commit
8bf411314e
4 changed files with 4 additions and 4 deletions
2
.github/workflows/pypi-publish.yml
vendored
2
.github/workflows/pypi-publish.yml
vendored
|
|
@ -26,7 +26,7 @@ jobs:
|
|||
- name: Build Frontend WebUI
|
||||
run: |
|
||||
cd lightrag_webui
|
||||
bun install
|
||||
bun install --frozen-lockfile --production
|
||||
bun run build
|
||||
cd ..
|
||||
|
||||
|
|
|
|||
|
|
@ -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 ..
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -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 ..
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue