-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathastro.config.mjs
35 lines (34 loc) · 911 Bytes
/
astro.config.mjs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
import cloudflare from "@astrojs/cloudflare";
import sitemap from "@astrojs/sitemap";
import icon from 'astro-icon';
import metaTags from "astro-meta-tags";
import { defineConfig } from 'astro/config';
import remarkEmdash from './lib/plugins/remark/emdash.js';
import rawFonts from './lib/plugins/vite/rawFonts.js';
// https://astro.build/config
export default defineConfig({
output: "static",
adapter: cloudflare(),
site: "https://scripturesofthechosen.tylermercer.net",
integrations: [sitemap(), icon(), metaTags()],
markdown: {
remarkPlugins: [remarkEmdash],
},
scopedStyleStrategy: 'class',
vite: {
server: {
hostname: 'sotc.localhost'
},
plugins: [rawFonts(['.woff'])],
ssr: {
external: [
'astro/container',
'crypto',
'fs',
'path',
'sharp',
'esbuild',
].flatMap(id => [id, `node:${id}`]),
},
}
});