summaryrefslogtreecommitdiff
path: root/astro.config.mjs
blob: a66a98ce7bc118e8cbf9121c09163ee450535723 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// @ts-check
import { defineConfig } from 'astro/config';

import cloudflare from '@astrojs/cloudflare';

// https://astro.build/config
export default defineConfig({
  output: 'server',
  adapter: cloudflare({
    workerEntryPoint: {
      path: 'src/worker.ts',
      namedExports: ['CounterDurableObject']
    }
  })
});