astro
Version:
Astro is a modern site builder with web best practices, performance, and DX front-of-mind.
66 lines (65 loc) • 1.45 kB
JavaScript
import { markdownConfigDefaults } from "@astrojs/internal-helpers/markdown";
const ASTRO_CONFIG_DEFAULTS = {
root: ".",
srcDir: "./src",
publicDir: "./public",
outDir: "./dist",
cacheDir: "./node_modules/.astro",
base: "/",
trailingSlash: "ignore",
build: {
format: "directory",
client: "./client/",
server: "./server/",
assets: "_astro",
serverEntry: "entry.mjs",
redirects: true,
inlineStylesheets: "auto",
concurrency: 1
},
image: {
endpoint: { entrypoint: void 0, route: "/_image" },
service: { entrypoint: "astro/assets/services/sharp", config: {} },
dangerouslyProcessSVG: false,
responsiveStyles: false
},
devToolbar: {
enabled: true
},
compressHTML: "jsx",
server: {
host: false,
port: 4321,
open: false,
allowedHosts: []
},
integrations: [],
markdown: markdownConfigDefaults,
vite: {},
legacy: {
collectionsBackwardsCompat: false
},
redirects: {},
security: {
checkOrigin: true,
allowedDomains: [],
csp: false,
actionBodySizeLimit: 1024 * 1024,
serverIslandBodySizeLimit: 1024 * 1024
},
env: {
schema: {},
validateSecrets: false
},
prerenderConflictBehavior: "warn",
fetchFile: "fetch",
experimental: {
clientPrerender: false,
contentIntellisense: false,
chromeDevtoolsWorkspace: false,
collectionStorage: "single-file"
}
};
export {
ASTRO_CONFIG_DEFAULTS
};