-
Notifications
You must be signed in to change notification settings - Fork 1
/
astro.config.ts
46 lines (45 loc) · 1.2 KB
/
astro.config.ts
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
import mdx from '@astrojs/mdx';
import tailwind from '@astrojs/tailwind';
import { defineConfig } from 'astro/config';
import react from '@astrojs/react';
import vercel from '@astrojs/vercel/serverless';
import sitemap from '@astrojs/sitemap';
import partytown from '@astrojs/partytown';
import icon from 'astro-icon';
import { remarkReadingTime } from './src/utils/remark-reading-time';
import remarkToc from 'remark-toc';
import pagefind from 'astro-pagefind';
import lottie from 'astro-integration-lottie';
import robotsTxt from 'astro-robots-txt';
import compress from 'astro-compress';
// https://astro.build/config
export default defineConfig({
integrations: [
mdx(),
tailwind({
// Allow writing nested CSS declarations alongside Tailwind's syntax
nesting: true,
}),
react(),
sitemap(),
partytown({
// Adds dataLayer.push as a forwarding-event.
config: {
forward: ['dataLayer.push'],
},
}),
icon(),
pagefind(),
lottie(),
robotsTxt(),
compress({
Image: false,
}),
],
markdown: {
remarkPlugins: [remarkReadingTime, remarkToc],
},
adapter: vercel(),
output: 'hybrid',
site: 'https://techhub.iodigital.com/',
});