mirror of
https://github.com/withastro/astro.git
synced 2025-02-03 22:29:08 -05:00
12 lines
282 B
JavaScript
12 lines
282 B
JavaScript
import { defineConfig } from 'astro/config';
|
|
import cloudflare from '@astrojs/cloudflare';
|
|
|
|
export default defineConfig({
|
|
adapter: cloudflare({
|
|
mode: 'directory',
|
|
functionPerRoute: true,
|
|
wasmModuleImports: true
|
|
}),
|
|
output: 'server',
|
|
vite: { build: { minify: false } }
|
|
});
|