AstroContainerOptions Type — astro Architecture
Architecture documentation for the AstroContainerOptions type/interface in index.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD 570dd256_6047_0a3e_e794_677b491e6eba["AstroContainerOptions"] 3e7d5a30_05d3_8677_9bbe_dc57d1b07ace["index.ts"] 570dd256_6047_0a3e_e794_677b491e6eba -->|defined in| 3e7d5a30_05d3_8677_9bbe_dc57d1b07ace style 570dd256_6047_0a3e_e794_677b491e6eba fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/src/container/index.ts lines 186–238
export type AstroContainerOptions = {
/**
* @default false
*
* @description
*
* Enables streaming during rendering
*
* ## Example
*
* ```js
* const container = await AstroContainer.create({
* streaming: true
* });
* ```
*/
streaming?: boolean;
/**
* @default []
* @description
*
* List or renderers to use when rendering components. Usually, you want to pass these in an SSR context.
*/
renderers?: SSRLoadedRenderer[];
/**
* @default {}
* @description
*
* A subset of the astro configuration object.
*
* ## Example
*
* ```js
* const container = await AstroContainer.create({
* astroConfig: {
* trailingSlash: "never"
* }
* });
* ```
*/
astroConfig?: AstroContainerUserConfig;
// TODO: document out of experimental
resolve?: SSRResult['resolve'];
/**
* @default {}
* @description
*
* The raw manifest from the build output.
*/
manifest?: SSRManifest;
};
Defined In
Source
Frequently Asked Questions
What is the AstroContainerOptions type?
AstroContainerOptions is a type/interface in the astro codebase, defined in packages/astro/src/container/index.ts.
Where is AstroContainerOptions defined?
AstroContainerOptions is defined in packages/astro/src/container/index.ts at line 186.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free