Home / File/ content.config.ts — astro Source File

content.config.ts — astro Source File

Architecture documentation for content.config.ts, a typescript file in the astro codebase. 2 imports, 0 dependents.

File typescript 2 imports

Entity Profile

Dependency Diagram

graph LR
  43288506_27b7_dedc_f3b8_f649435383c6["content.config.ts"]
  199cb0c0_7c92_5375_9195_0f59939b49ed["astro:content"]
  43288506_27b7_dedc_f3b8_f649435383c6 --> 199cb0c0_7c92_5375_9195_0f59939b49ed
  57096fb8_3fb5_1319_b2b6_ba8488b380f0["loaders"]
  43288506_27b7_dedc_f3b8_f649435383c6 --> 57096fb8_3fb5_1319_b2b6_ba8488b380f0
  style 43288506_27b7_dedc_f3b8_f649435383c6 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { defineCollection } from 'astro:content';
import { glob } from 'astro/loaders';

const blog = defineCollection({
	loader: glob({ pattern: '**/*.mdoc', base: './src/content/blog' }),
});

export const collections = {
	blog,
};

Dependencies

  • astro:content
  • loaders

Frequently Asked Questions

What does content.config.ts do?
content.config.ts is a source file in the astro codebase, written in typescript.
What does content.config.ts depend on?
content.config.ts imports 2 module(s): astro:content, loaders.
Where is content.config.ts in the architecture?
content.config.ts is located at packages/integrations/markdoc/test/fixtures/render-with-config/src/content.config.ts (directory: packages/integrations/markdoc/test/fixtures/render-with-config/src).

Analyze Your Own Codebase

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

Try Supermodel Free