Skip to content
File

Blob: samples/helloworld-ts/config.capnp

434 bytes
1using Workerd = import "/workerd/workerd.capnp";
2 
3const helloWorldExample :Workerd.Config = (
4 services = [ (name = "main", worker = .helloWorld) ],
5 sockets = [ ( name = "http", address = "*:8080", http = (), service = "main" ) ]
6);
7 
8const helloWorld :Workerd.Worker = (
9 modules = [
10 (name = "worker", esModule = embed "worker.ts")
11 ],
12 compatibilityDate = "2025-08-01",
13 compatibilityFlags = ["typescript_strip_types"]
14);