13 lines
282 B
JavaScript
13 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 } }
|
||
|
});
|