-
Notifications
You must be signed in to change notification settings - Fork 0
/
astro.config.mjs
35 lines (33 loc) · 1.08 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
import netlify from "@astrojs/netlify";
import prefetch from "@astrojs/prefetch";
import react from "@astrojs/react";
import svelte from "@astrojs/svelte";
import vue from "@astrojs/vue";
import { defineConfig } from "astro/config";
// why prefetch: https://docs.astro.build/en/guides/integrations-guide/prefetch/#why-prefetch
export default defineConfig({
site: "https://design.avayacloud.com/",
adapter: netlify(),
output: "server",
integrations: [react(), svelte(), vue(), prefetch()],
redirects: {
"/components/web/navbar-web": "/components/header",
"/components/web/tables-web": "/components/table",
"/components/web/switch-web": "/components/switch",
"/components/web/widget-web": "/components/widget",
"/components/icons": "/components/icon",
"/components/web/dropdown-web": "/components/dropdown",
"/components/web/checkbox-web": "/components/checkbox",
"/components/web/pagination-web": "/components/pagination",
},
vite: {
ssr: {
noExternal: [
"avaya-neo-react",
"prism-react-renderer",
"react-element-to-jsx-string",
"octokit",
],
},
},
});