Skip to content

Commit 9afcbf8

Browse files
committed
Add comment on how to enable dev-bootstrap-roots for dev environment
1 parent c88f2c7 commit 9afcbf8

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

crates/mtc_worker/wrangler.jsonc

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,10 @@
1515
"dev": {
1616
"build": {
1717
// Change '--release' to '--dev' to compile with debug symbols.
18-
// DEPLOY_ENV is used in build.rs to select per-environment config and roots.
18+
// DEPLOY_ENV is used in build.rs to select per-environment
19+
// config and roots. Add `--features dev-bootstrap-roots` to the
20+
// worker-build command to enable dev bootstrap roots (which
21+
// should NOT be enabled in a production deployment).
1922
"command": "cargo install -q worker-build && DEPLOY_ENV=dev worker-build --release"
2023
},
2124
"workers_dev": true,
@@ -113,4 +116,4 @@
113116
]
114117
}
115118
}
116-
}
119+
}

0 commit comments

Comments
 (0)