Add 'pnpm --filter @gradio/client build' to the build script of @gradio/lite (#4747)

This commit is contained in:
Yuichiro Tachibana (Tsuchiya) 2023-07-04 21:33:04 +09:00 committed by GitHub
parent 6a9e2ed5ac
commit 46008b6659
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,7 +12,7 @@
"pybuild:gradio": "cd ../../ && rm -rf gradio/templates/frontend && python -m build",
"pybuild:gradio-client": "cd ../../client/python && python -m build",
"pybuild": "run-p pybuild:*",
"build:lite": "pnpm pybuild && pnpm --filter @gradio/wasm build && vite build --mode production:lite --emptyOutDir",
"build:lite": "pnpm pybuild && pnpm --filter @gradio/client build && pnpm --filter @gradio/wasm build && vite build --mode production:lite --emptyOutDir",
"preview": "vite preview",
"test:snapshot": "pnpm exec playwright test snapshots/ --config=../../.config/playwright.config.js",
"test:browser": "pnpm exec playwright test test/ --config=../../.config/playwright.config.js",