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 ce47e24a_a164_e02e_5376_f93ee6a561c4["astro.config.mjs"] 3b10c06c_a805_be1f_3a3d_1f00ea858ef5["config"] ce47e24a_a164_e02e_5376_f93ee6a561c4 --> 3b10c06c_a805_be1f_3a3d_1f00ea858ef5 7c7c08e2_45f5_726d_94b5_c6aa8d473762["node"] ce47e24a_a164_e02e_5376_f93ee6a561c4 --> 7c7c08e2_45f5_726d_94b5_c6aa8d473762 style ce47e24a_a164_e02e_5376_f93ee6a561c4 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import { defineConfig} from "astro/config";
import node from "@astrojs/node"
export default defineConfig({
base: "/",
output: "static",
i18n: {
locales: ["en", "es"],
defaultLocale: "en",
fallback: {
es: "en",
},
routing: {
fallbackType: "rewrite",
prefixDefaultLocale: false,
},
},
adapter: node({mode: 'standalone'})
});
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/astro/test/fixtures/i18n-routing-fallback-rewrite-hybrid/astro.config.mjs (directory: packages/astro/test/fixtures/i18n-routing-fallback-rewrite-hybrid).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free