-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathastro.config.mjs
41 lines (40 loc) · 927 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
36
37
38
39
40
41
// @ts-check
import { defineConfig } from "astro/config";
import tailwindcss from "@tailwindcss/vite";
import netlify from "@astrojs/netlify";
import solid from "@astrojs/solid-js";
import react from "@astrojs/react";
// import node from "@astrojs/node";
import svelte from "@astrojs/svelte";
import vue from "@astrojs/vue";
// import alpinejs from "@astrojs/alpinejs";
// https://astro.build/config
export default defineConfig({
site: "https://todo-archipelago.netlify.app",
output: "server",
adapter: netlify(),
vite: {
plugins: [tailwindcss()],
},
experimental: {
svg: true,
session: {
driver: "netlify-blobs",
options: {
// @ts-expect-error
name: "astro-sessions",
consistency: "strong",
},
},
},
integrations: [
react({
include: ["**/react/"],
}),
solid({
include: ["**/solid/*"],
}),
svelte(),
vue(),
],
});