STUBS.CLOUDFLARE_WRANGLER_CONFIG() — astro Function Reference
Architecture documentation for the STUBS.CLOUDFLARE_WRANGLER_CONFIG() function in index.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD 6e0f6398_572d_0496_6f53_2ae2c2d7bc09["STUBS.CLOUDFLARE_WRANGLER_CONFIG()"] 9151bb3d_ee1e_da42_752a_45a9db1dd918["index.ts"] 6e0f6398_572d_0496_6f53_2ae2c2d7bc09 -->|defined in| 9151bb3d_ee1e_da42_752a_45a9db1dd918 style 6e0f6398_572d_0496_6f53_2ae2c2d7bc09 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/src/cli/add/index.ts lines 86–99
CLOUDFLARE_WRANGLER_CONFIG: (name: string, compatibilityDate: string) => `\
{
"compatibility_date": ${JSON.stringify(compatibilityDate)},
"compatibility_flags": ["global_fetch_strictly_public"],
"name": ${JSON.stringify(name)},
"main": "@astrojs/cloudflare/entrypoints/server",
"assets": {
"directory": "./dist",
"binding": "ASSETS"
},
"observability": {
"enabled": true
}
}`,
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does STUBS.CLOUDFLARE_WRANGLER_CONFIG() do?
STUBS.CLOUDFLARE_WRANGLER_CONFIG() is a function in the astro codebase, defined in packages/astro/src/cli/add/index.ts.
Where is STUBS.CLOUDFLARE_WRANGLER_CONFIG() defined?
STUBS.CLOUDFLARE_WRANGLER_CONFIG() is defined in packages/astro/src/cli/add/index.ts at line 86.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free