mirror of
https://github.com/withastro/astro.git
synced 2024-12-23 21:53:55 -05:00
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>
9 lines
238 B
JavaScript
9 lines
238 B
JavaScript
import { defineConfig } from 'astro/config';
|
|
import { netlifyEdgeFunctions } from '@astrojs/netlify';
|
|
|
|
export default defineConfig({
|
|
adapter: netlifyEdgeFunctions({
|
|
dist: new URL('./dist/', import.meta.url),
|
|
}),
|
|
output: 'server',
|
|
})
|