Skip to content

Commit e95bfbd

Browse files
coyotte508julien-c
andauthored
Update docs/hub/spaces-config-reference.md
Co-authored-by: Julien Chaumond <[email protected]>
1 parent dff4daf commit e95bfbd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/hub/spaces-config-reference.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,9 @@ Path to your main application file (which contains either `gradio` or `streamlit
5050
Path is relative to the root of the repository.
5151

5252
**`app_build_command`** : _string_
53-
For static Spaces, command to run first to generate the HTML to render. Use together with `app_file`. Example: `npm run build`.
53+
For static Spaces, command to run first to generate the HTML to render. Example: `npm run build`.
54+
55+
This is used in conjunction with `app_file` which points to the built index file: e.g. `app_file: dist/index.html`.
5456

5557
Each update, the build command will run in a Job and the build output will be stored in `refs/convert/build`,
5658
which will be served by the Space. See an example at https://huggingface.co/spaces/coyotte508/static-vite

0 commit comments

Comments
 (0)