astro.config.mjs — astro Source File
Architecture documentation for astro.config.mjs, a javascript file in the astro codebase. 2 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR c56927ca_9f32_7365_217e_20f0d0d71085["astro.config.mjs"] 3b10c06c_a805_be1f_3a3d_1f00ea858ef5["config"] c56927ca_9f32_7365_217e_20f0d0d71085 --> 3b10c06c_a805_be1f_3a3d_1f00ea858ef5 7c7c08e2_45f5_726d_94b5_c6aa8d473762["node"] c56927ca_9f32_7365_217e_20f0d0d71085 --> 7c7c08e2_45f5_726d_94b5_c6aa8d473762 style c56927ca_9f32_7365_217e_20f0d0d71085 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import { defineConfig } from 'astro/config';
import nodejs from '@astrojs/node';
export default defineConfig({
adapter: nodejs({ mode: 'standalone' }),
redirects: {
'/old-page': '/new-page',
'/old-page-301': {
status: 301,
destination: '/new-page-301',
},
'/old-page-302': {
status: 302,
destination: '/new-page-302',
},
'/dynamic/[slug]': '/pages/[slug]',
'/spread/[...path]': '/content/[...path]',
'/external': 'https://example.com',
},
});
Dependencies
- config
- node
Source
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 2 module(s): config, node.
Where is astro.config.mjs in the architecture?
astro.config.mjs is located at packages/integrations/node/test/fixtures/redirects/astro.config.mjs (directory: packages/integrations/node/test/fixtures/redirects).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free