16 lines
283 B
JavaScript
16 lines
283 B
JavaScript
|
import { defineConfig } from 'astro/config';
|
||
|
import cloudflare from '@astrojs/cloudflare';
|
||
|
|
||
|
export default defineConfig({
|
||
|
adapter: cloudflare({
|
||
|
mode: 'directory',
|
||
|
functionPerRoute: true
|
||
|
}),
|
||
|
output: 'server',
|
||
|
vite: {
|
||
|
build: {
|
||
|
minify: false,
|
||
|
},
|
||
|
},
|
||
|
});
|