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. 6 imports, 0 dependents.

File javascript 6 imports

Entity Profile

Dependency Diagram

graph LR
  0b597c5d_19d5_9741_1dcd_dda1b48f64f4["astro.config.mjs"]
  7c7c08e2_45f5_726d_94b5_c6aa8d473762["node"]
  0b597c5d_19d5_9741_1dcd_dda1b48f64f4 --> 7c7c08e2_45f5_726d_94b5_c6aa8d473762
  1aafec42_0f39_8429_1c1d_80a79946b271["react"]
  0b597c5d_19d5_9741_1dcd_dda1b48f64f4 --> 1aafec42_0f39_8429_1c1d_80a79946b271
  93777094_f9e4_f26f_862a_02d631000d0f["svelte"]
  0b597c5d_19d5_9741_1dcd_dda1b48f64f4 --> 93777094_f9e4_f26f_862a_02d631000d0f
  0be915da_f630_9aa4_c436_5c7259ff2910["solid-js"]
  0b597c5d_19d5_9741_1dcd_dda1b48f64f4 --> 0be915da_f630_9aa4_c436_5c7259ff2910
  650caab7_36c1_2954_5cb9_00b9ea81aae8["vue"]
  0b597c5d_19d5_9741_1dcd_dda1b48f64f4 --> 650caab7_36c1_2954_5cb9_00b9ea81aae8
  3b10c06c_a805_be1f_3a3d_1f00ea858ef5["config"]
  0b597c5d_19d5_9741_1dcd_dda1b48f64f4 --> 3b10c06c_a805_be1f_3a3d_1f00ea858ef5
  style 0b597c5d_19d5_9741_1dcd_dda1b48f64f4 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import nodejs from '@astrojs/node';
import react from '@astrojs/react';
import svelte from '@astrojs/svelte';
import solidjs from '@astrojs/solid-js';
import vue from '@astrojs/vue';
import { defineConfig } from 'astro/config';

// https://astro.build/config
export default defineConfig({
	output: 'static',
	adapter: nodejs({ mode: 'standalone' }),
	integrations: [react( {
		exclude: ['**/solid/**'],
	}),vue(),svelte(),solidjs({
		include: ['**/solid/**'],
	})],
	redirects: {
		'/redirect-two': '/two',
		'/redirect-external': 'https://example.com/',
	},
	devToolbar: {
		enabled: false,
	},
	vite: {
		build: {
			assetsInlineLimit: 0,
		},
	}
});

Dependencies

  • config
  • node
  • react
  • solid-js
  • svelte
  • vue

Frequently Asked Questions

What does astro.config.mjs do?
astro.config.mjs is a source file in the astro codebase, written in javascript.
What does astro.config.mjs depend on?
astro.config.mjs imports 6 module(s): config, node, react, solid-js, svelte, vue.
Where is astro.config.mjs in the architecture?
astro.config.mjs is located at packages/astro/e2e/fixtures/view-transitions/astro.config.mjs (directory: packages/astro/e2e/fixtures/view-transitions).

Analyze Your Own Codebase

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

Try Supermodel Free