astro/packages/integrations/cloudflare/test/fixtures/wasm-function-per-route/astro.config.mjs

13 lines
282 B
JavaScript
Raw Normal View History

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 } }
});