Home / File/ astro.config.mjs — astro Source File

astro.config.mjs — astro Source File

Architecture documentation for astro.config.mjs, a javascript file in the astro codebase. 5 imports, 0 dependents.

Entity Profile

Dependency Diagram

graph LR
  30c95dd6_74dd_dc13_6463_357f9001c6e5["astro.config.mjs"]
  c7ffa4ce_010c_7ea5_dae5_5dbecd5ec1ca["test-image-service.js"]
  30c95dd6_74dd_dc13_6463_357f9001c6e5 --> c7ffa4ce_010c_7ea5_dae5_5dbecd5ec1ca
  fb1cb1ea_03bd_c4c5_f29a_ff1b9c6499cd["testImageService"]
  30c95dd6_74dd_dc13_6463_357f9001c6e5 --> fb1cb1ea_03bd_c4c5_f29a_ff1b9c6499cd
  b05fd4c1_a3ee_3301_adcd_43b49bae78f1["mdx"]
  30c95dd6_74dd_dc13_6463_357f9001c6e5 --> b05fd4c1_a3ee_3301_adcd_43b49bae78f1
  1aafec42_0f39_8429_1c1d_80a79946b271["react"]
  30c95dd6_74dd_dc13_6463_357f9001c6e5 --> 1aafec42_0f39_8429_1c1d_80a79946b271
  3b10c06c_a805_be1f_3a3d_1f00ea858ef5["config"]
  30c95dd6_74dd_dc13_6463_357f9001c6e5 --> 3b10c06c_a805_be1f_3a3d_1f00ea858ef5
  style 30c95dd6_74dd_dc13_6463_357f9001c6e5 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import mdx from '@astrojs/mdx';
import react from '@astrojs/react';
import { defineConfig } from 'astro/config';
import { testImageService } from '../../test-image-service.js';

// https://astro.build/config
export default defineConfig({
	// test custom base to make sure things work
	base: '/custom-base',
	integrations: [react(), mdx()],
	build: {
		assetsPrefix: 'http://localhost:4321',
		inlineStylesheets: 'never',
	},
	image: {
		service: testImageService(),
	},
});

Dependencies

Frequently Asked Questions

What does astro.config.mjs do?
astro.config.mjs is a source file in the astro codebase, written in javascript. It belongs to the IntegrationAdapters domain.
What does astro.config.mjs depend on?
astro.config.mjs imports 5 module(s): config, mdx, react, test-image-service.js, testImageService.
Where is astro.config.mjs in the architecture?
astro.config.mjs is located at packages/astro/test/fixtures/astro-assets-prefix/astro.config.mjs (domain: IntegrationAdapters, directory: packages/astro/test/fixtures/astro-assets-prefix).

Analyze Your Own Codebase

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

Try Supermodel Free