mirror of
https://github.com/withastro/astro.git
synced 2024-12-23 21:53:55 -05:00
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,
|
||
|
},
|
||
|
},
|
||
|
});
|