summaryrefslogtreecommitdiff
path: root/astro.config.mjs
blob: fff01e2861fbc9f932c3f91d5ddbf0c809845c25 (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
28
29
30
// @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",
    workerEntryPoint: {
      path: 'src/worker.ts'
    }
  }),

  devToolbar: {
    enabled: false
  }
});