6fd161d769
* Start of work on astroConfig.mode === 'server' * Add tests and more * adapter -> deploy in some places * Add fallback for `adapter` config * Update more tests * Update image tests * Fix clientAddress test * Updates based on PR review * Add a changeset * Update integrations tests + readme * Oops * Remove old option * Rename `mode` to `output` * Update Node adapter test * Update test * fred pass * fred pass * fred pass * fix test Co-authored-by: Fred K. Schott <fkschott@gmail.com>
11 lines
300 B
JavaScript
11 lines
300 B
JavaScript
import { defineConfig } from 'astro/config';
|
|
import { netlifyEdgeFunctions } from '@astrojs/netlify';
|
|
import react from "@astrojs/react";
|
|
|
|
export default defineConfig({
|
|
adapter: netlifyEdgeFunctions({
|
|
dist: new URL('./dist/', import.meta.url),
|
|
}),
|
|
integrations: [react()],
|
|
output: 'server',
|
|
})
|