-
-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathastro.config.mjs
32 lines (30 loc) · 918 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
import { defineConfig } from "astro/config";
import tailwind from "@astrojs/tailwind";
import sitemap from "@astrojs/sitemap";
import robotsTxt from "astro-robots-txt";
import image from "@astrojs/image";
// import preact from "@astrojs/preact";
// import { astroImageTools } from "astro-imagetools";
import react from "@astrojs/react";
// https://astro.build/config
export default defineConfig({
// site: 'https://tcet-opensource.github.io',
// base: '/tnp-website', // this is breaking whole navbar
base: '/',
integrations: [
tailwind(),
sitemap(),
robotsTxt(),
image({
serviceEntryPoint: "@astrojs/image/sharp",
}),
react(),
// astroImageTools,
],
vite: {
ssr: {
noExternal: [/^swiper\/*/,/^react-fast-marquee\/*/,/^usehooks-ts\/*/,/^react-countup\/*/ ]
}
},
site: "https://tnp.tcetmumbai.in" //dont change this. SEO stuff. not even for staging
});