-
Notifications
You must be signed in to change notification settings - Fork 0
/
astro.config.mjs
48 lines (46 loc) · 1.23 KB
/
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
36
37
38
39
40
41
42
43
44
45
46
47
48
import { loadEnv } from "vite";
const { SITE_URL, CONTACT_URL } = loadEnv(
import.meta?.env?.MODE || "",
process.cwd(),
"",
);
import { defineConfig } from "astro/config";
import tailwind from "@astrojs/tailwind";
import mdx from "@astrojs/mdx";
import sitemap from "@astrojs/sitemap";
import icon from "astro-icon";
import vue from "@astrojs/vue";
// https://astro.build/config
export default defineConfig({
build: {
format: "file",
},
image: {
service: { entrypoint: "astro/assets/services/sharp" },
},
site: SITE_URL || "https://www.goodmotion.fr",
CONTACT_URL: CONTACT_URL || "https://www.goodmotion.fr",
integrations: [tailwind(), mdx(), sitemap(), icon(), vue()],
manifest: {
appName: "Goodmotion",
appShortName: "Goodmotion",
appDescription:
"Développement de sites web rapides et durables ! Genève, Lausanne, Annecy",
background: "#f8f8f8",
theme_color: "#08556c",
lang: "fr",
preferRelatedApplications: false,
pixel_art: false,
loadManifestWithCredentials: false,
manifestMaskable: false,
icons: {
favicons: true,
android: true,
appleIcon: true,
appleStartup: false,
coast: false,
yandex: false,
windows: false,
},
},
});