astro.config.ts — astro Source File
Architecture documentation for astro.config.ts, a typescript file in the astro codebase. 2 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR ab1997ee_802f_b1d6_4a3e_995a70867744["astro.config.ts"] ab94d36c_d74d_93d6_d18c_59b1626be623["cloudflare"] ab1997ee_802f_b1d6_4a3e_995a70867744 --> ab94d36c_d74d_93d6_d18c_59b1626be623 dda46faa_14cf_7744_8a09_a6058434f1e9["config"] ab1997ee_802f_b1d6_4a3e_995a70867744 --> dda46faa_14cf_7744_8a09_a6058434f1e9 style ab1997ee_802f_b1d6_4a3e_995a70867744 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import cloudflare from '@astrojs/cloudflare';
import { defineConfig, envField } from 'astro/config';
export default defineConfig({
env: {
schema: {
API_URL: envField.string({ context: 'client', access: 'public', optional: true }),
PORT: envField.number({ context: 'server', access: 'public', default: 4321 }),
API_SECRET: envField.string({ context: 'server', access: 'secret' }),
},
},
adapter: cloudflare(),
output: 'server',
});
Dependencies
- cloudflare
- config
Source
Frequently Asked Questions
What does astro.config.ts do?
astro.config.ts is a source file in the astro codebase, written in typescript.
What does astro.config.ts depend on?
astro.config.ts imports 2 module(s): cloudflare, config.
Where is astro.config.ts in the architecture?
astro.config.ts is located at packages/integrations/cloudflare/test/fixtures/astro-env/astro.config.ts (directory: packages/integrations/cloudflare/test/fixtures/astro-env).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free