AstroInlineOnlyConfig Type — astro Architecture
Architecture documentation for the AstroInlineOnlyConfig type/interface in config.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD f6af59b8_9465_3526_6778_35ef77063fba["AstroInlineOnlyConfig"] 9a410621_7e4c_298f_fae4_ea2f60c8b25d["config.ts"] f6af59b8_9465_3526_6778_35ef77063fba -->|defined in| 9a410621_7e4c_298f_fae4_ea2f60c8b25d style f6af59b8_9465_3526_6778_35ef77063fba fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/src/types/public/config.ts lines 2785–2825
export interface AstroInlineOnlyConfig {
/**
* A custom path to the Astro config file. If relative, it'll resolve based on the current working directory.
* Set to false to disable loading any config files.
*
* If this value is undefined or unset, Astro will search for an `astro.config.(js,mjs,ts)` file relative to
* the `root` and load the config file if found.
*
* The inline config passed in this object will take the highest priority when merging with the loaded user config.
*/
configFile?: string | false;
/**
* The mode used when developing or building your site. It's passed to Vite that affects the value of `import.meta.env.MODE`
* and how `.env` files are loaded, which also affects the values of `astro:env`. See the
* [environment variables documentation](https://docs.astro.build/en/guides/environment-variables/) for more details.
*
* To output a development-based build, you can run `astro build` with the `--devOutput` flag.
*
* @default "development" for `astro dev`, "production" for `astro build`
*/
mode?: string;
/**
* The logging level to filter messages logged by Astro.
* - "debug": Log everything, including noisy debugging diagnostics.
* - "info": Log informational messages, warnings, and errors.
* - "warn": Log warnings and errors.
* - "error": Log errors only.
* - "silent": No logging.
*
* @default "info"
*/
logLevel?: LoggerLevel;
/**
* Clear the content layer cache, forcing a rebuild of all content entries.
*/
force?: boolean;
/**
* @internal for testing only, use `logLevel` instead.
*/
logger?: Logger;
}
Defined In
Source
Frequently Asked Questions
What is the AstroInlineOnlyConfig type?
AstroInlineOnlyConfig is a type/interface in the astro codebase, defined in packages/astro/src/types/public/config.ts.
Where is AstroInlineOnlyConfig defined?
AstroInlineOnlyConfig is defined in packages/astro/src/types/public/config.ts at line 2785.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free