summaryrefslogtreecommitdiff
path: root/astro.config.mjs
blob: 267421624f5a787016bca01adeea0775578c619c (plain)
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
// @ts-check
import { defineConfig } from 'astro/config';
import react from '@astrojs/react';
import tailwindcss from '@tailwindcss/vite';

import cloudflare from '@astrojs/cloudflare';

// https://astro.build/config
export default defineConfig({
  site: 'https://geshem.space',
  integrations: [react()],

  vite: {
    plugins: [tailwindcss()],
    build: {
      chunkSizeWarningLimit: 2000
    }
  },

  adapter: cloudflare({
    imageService: "compile"
  }),

  devToolbar: {
    enabled: false
  }
});