glob.json.js — astro Source File
Architecture documentation for glob.json.js, a javascript file in the astro codebase.
Entity Profile
Relationship Graph
Source Code
export async function GET() {
const docs = await import.meta.glob('./*.mdx', { eager: true });
return new Response(
JSON.stringify(Object.values(docs).map(doc => doc.frontmatter))
);
}
Domain
Subdomains
Functions
Source
Frequently Asked Questions
What does glob.json.js do?
glob.json.js is a source file in the astro codebase, written in javascript. It belongs to the CoreAstro domain, RoutingSystem subdomain.
What functions are defined in glob.json.js?
glob.json.js defines 1 function(s): GET.
Where is glob.json.js in the architecture?
glob.json.js is located at packages/integrations/mdx/test/fixtures/mdx-frontmatter-injection/src/pages/glob.json.js (domain: CoreAstro, subdomain: RoutingSystem, directory: packages/integrations/mdx/test/fixtures/mdx-frontmatter-injection/src/pages).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free