-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathspin.toml
32 lines (25 loc) · 829 Bytes
/
spin.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
spin_manifest_version = 2
[application]
name = "qwik"
version = "0.1.0"
authors = ["Van Vuong Ngo <[email protected]>"]
description = "Qwik example"
[[trigger.http]]
route = "/..."
component = "home"
[component.home]
source = { url = "https://github.com/fermyon/spin-fileserver/releases/download/v0.1.0/spin_static_fs.wasm", digest = "sha256:96c76d9af86420b39eb6cd7be5550e3cb5d4cc4de572ce0fd1f6a29471536cb4" }
files = [{ source = "home/dist/", destination = "/" }]
exclude_files = ["**/node_modules"]
[component.home.build]
command = "pnpm build"
watch = ["src/**/*.tsx", "src/**/*.css"]
workdir = "home"
[[trigger.http]]
route = "/version"
component = "version"
[component.version]
source = "version/target/version.wasm"
[component.version.build]
command = "npm run build"
workdir = "version"