Skip to content

Commit f1756ae

Browse files
authored
Merge pull request #755 from coderoflagos/patch-2
added the [component.build] section in the sample.
2 parents ffc95bc + 7dcbe1e commit f1756ae

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)