index.ts — astro Source File
Architecture documentation for index.ts, a typescript file in the astro codebase. 1 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 8168a46e_e6a4_ced9_e8e9_c1e730a2738f["index.ts"] f16d8c76_2866_6150_bd14_0347b59abfe9["astro"] 8168a46e_e6a4_ced9_e8e9_c1e730a2738f --> f16d8c76_2866_6150_bd14_0347b59abfe9 style 8168a46e_e6a4_ced9_e8e9_c1e730a2738f fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import type { AstroIntegration } from 'astro';
export default function createIntegration(): AstroIntegration {
return {
name: '@benchmark/timer',
hooks: {
'astro:config:setup': ({ updateConfig }) => {
updateConfig({
vite: {
ssr: {
noExternal: ['@benchmark/timer'],
},
},
});
},
'astro:config:done': ({ setAdapter }) => {
setAdapter({
name: '@benchmark/adapter',
serverEntrypoint: '@benchmark/adapter/server.js',
exports: ['manifest', 'createApp'],
supportedAstroFeatures: {
serverOutput: 'stable',
envGetSecret: 'experimental',
staticOutput: 'stable',
hybridOutput: 'stable',
i18nDomains: 'stable',
},
});
},
},
};
}
Domain
Subdomains
Functions
Dependencies
- astro
Source
Frequently Asked Questions
What does index.ts do?
index.ts is a source file in the astro codebase, written in typescript. It belongs to the IntegrationAdapters domain, ReactIntegration subdomain.
What functions are defined in index.ts?
index.ts defines 1 function(s): createIntegration.
What does index.ts depend on?
index.ts imports 1 module(s): astro.
Where is index.ts in the architecture?
index.ts is located at benchmark/packages/adapter/src/index.ts (domain: IntegrationAdapters, subdomain: ReactIntegration, directory: benchmark/packages/adapter/src).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free