-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathastro.config.mjs
43 lines (42 loc) · 1.14 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
// Full Astro Configuration API Documentation:
// https://docs.astro.build/reference/configuration-reference
// @type-check enabled!
// VSCode and other TypeScript-enabled text editors will provide auto-completion,
// helpful tooltips, and warnings if your exported object is invalid.
// You can disable this by removing "@ts-check" and `@type` comments below.
import { defineConfig } from "astro/config";
import { astroImageTools } from "astro-imagetools";
import vue from "@astrojs/vue";
import compress from "astro-compress";
import sitemap from "@astrojs/sitemap";
// https://astro.build/config
export default defineConfig({
site: "https://www.sweetstrength.com",
// sitemap: true,
// srcDir:'./src',
// outDir: './dist',
// publicDir: './public',
// Enable the Vue renderer to support Vue components.
// renderers: ["@astrojs/renderer-vue"],
integrations: [
astroImageTools,
vue(),
sitemap(),
compress({
css: false,
html: true,
js: false,
img: false,
svg: false,
})
],
vite: {
// plugins: [astroImagePlugin],
ssr: {
external: ["svgo"]
}
},
experimental: {
integrations: true
}
});