-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdfx.json
More file actions
29 lines (29 loc) · 726 Bytes
/
dfx.json
File metadata and controls
29 lines (29 loc) · 726 Bytes
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
{
"canisters": {
"backend": {
"candid": "backend/backend.did",
"type": "custom",
"shrink": true,
"gzip": true,
"wasm": "target/wasm32-unknown-unknown/release/backend.wasm",
"build": [
"cargo build --target wasm32-unknown-unknown --release -p backend",
"candid-extractor target/wasm32-unknown-unknown/release/backend.wasm > backend/backend.did"
],
"metadata": [
{
"name": "candid:service"
}
]
},
"frontend": {
"dependencies": ["backend"],
"frontend": {
"entrypoint": "frontend/index.html"
},
"source": ["frontend/dist"],
"type": "assets"
}
},
"output_env_file": ".env"
}