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 mdxPages = await import.meta.glob('./*.mdx', { eager: true });
return Response.json({
titles: Object.values(mdxPages ?? {}).map((v) => v?.frontmatter?.title),
});
}
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, CoreMiddleware 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/src/pages/glob.json.js (domain: CoreAstro, subdomain: CoreMiddleware, directory: packages/integrations/mdx/test/fixtures/mdx-frontmatter/src/pages).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free