Home / Function/ src() — astro Function Reference

src() — astro Function Reference

Architecture documentation for the src() function in runner.ts from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  4bc93396_47ce_e378_e753_da25b0b51449["src()"]
  58abb67e_f385_ecd0_f6d1_c515d265bf85["runner.ts"]
  4bc93396_47ce_e378_e753_da25b0b51449 -->|defined in| 58abb67e_f385_ecd0_f6d1_c515d265bf85
  style 4bc93396_47ce_e378_e753_da25b0b51449 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/astro/src/core/module-loader/runner.ts lines 25–25

	import: (src: string) => Promise<Record<string, any>>;

Domain

Subdomains

Frequently Asked Questions

What does src() do?
src() is a function in the astro codebase, defined in packages/astro/src/core/module-loader/runner.ts.
Where is src() defined?
src() is defined in packages/astro/src/core/module-loader/runner.ts at line 25.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free