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

File javascript 2 imports

Entity Profile

Dependency Diagram

graph LR
  bf14e67b_9fa4_ae7c_f32d_28e6ade38136["astro.config.mjs"]
  46d65d1d_5c10_4c83_c05b_eadd2cdccbdf["netlify"]
  bf14e67b_9fa4_ae7c_f32d_28e6ade38136 --> 46d65d1d_5c10_4c83_c05b_eadd2cdccbdf
  3b10c06c_a805_be1f_3a3d_1f00ea858ef5["config"]
  bf14e67b_9fa4_ae7c_f32d_28e6ade38136 --> 3b10c06c_a805_be1f_3a3d_1f00ea858ef5
  style bf14e67b_9fa4_ae7c_f32d_28e6ade38136 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import netlify from '@astrojs/netlify';
import { defineConfig } from 'astro/config';

export default defineConfig({
  output: 'server',
  adapter: netlify({
    edgeMiddleware: process.env.EDGE_MIDDLEWARE === 'true',
    imageCDN: process.env.DISABLE_IMAGE_CDN ? false : undefined,
  }),
  image: {
    remotePatterns: [{
      protocol: 'https',
      hostname: '*.example.org',
      pathname: '/images/*',
    }],
    domains: ['example.net', 'secret.example.edu', 'images.unsplash.com'],
  },
  site: `http://example.com`
});

Dependencies

  • config
  • netlify

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, netlify.
Where is astro.config.mjs in the architecture?
astro.config.mjs is located at packages/integrations/netlify/test/development/fixtures/primitives/astro.config.mjs (directory: packages/integrations/netlify/test/development/fixtures/primitives).

Analyze Your Own Codebase

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

Try Supermodel Free