Skip to content

Commit 2340ea4

Browse files
coyotte508gary149
andauthored
Update docs/hub/spaces-sdks-static.md
Co-authored-by: Victor Muštar <[email protected]>
1 parent 85b6052 commit 2340ea4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/hub/spaces-sdks-static.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ Here are some examples of Spaces using custom HTML:
1010

1111
## Adding a build step before serving
1212

13+
Static Spaces support adding a custom build step before serving your static assets. This is useful for frameworks like Next.js, SvelteKit, and others that require a build process before serving. The build command runs automatically when your Space is updated.
14+
1315
Add `app_build_command` inside the `YAML` block at the top of your Spaces **README.md** file, and `app_file`.
1416

1517
For example:

0 commit comments

Comments
 (0)