Skip to content

Commit 7dcbe1e

Browse files
authored
added the [component.build] section in the sample.
Signed-off-by: Opemipo Disu <46439130+coderoflagos@users.noreply.github.com>
1 parent ffc95bc commit 7dcbe1e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/content/configuration.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ description = "A simple component that returns hello world."
2424
source = "target/wasm32-wasi/release/spinhelloworld.wasm"
2525
[component.trigger]
2626
route = "/hello"
27+
[component.build]
28+
command = "cargo build --target wasm32-wasi --release"
2729
```
2830

2931
## Application manifest reference

0 commit comments

Comments
 (0)