Home / File/ pages.json.js — astro Source File

pages.json.js — astro Source File

Architecture documentation for pages.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({
		urls: Object.values(mdxPages ?? {}).map((v) => v?.url),
	});
}

Domain

Subdomains

Functions

Frequently Asked Questions

What does pages.json.js do?
pages.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 pages.json.js?
pages.json.js defines 1 function(s): GET.
Where is pages.json.js in the architecture?
pages.json.js is located at packages/integrations/mdx/test/fixtures/mdx-url-export/src/pages/pages.json.js (domain: CoreAstro, subdomain: CoreMiddleware, directory: packages/integrations/mdx/test/fixtures/mdx-url-export/src/pages).

Analyze Your Own Codebase

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

Try Supermodel Free