mirror of
https://github.com/withastro/astro.git
synced 2024-12-23 21:53:55 -05:00
a79a37cad5
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
14 lines
353 B
JavaScript
14 lines
353 B
JavaScript
import { defineConfig } from 'astro/config';
|
|
import { netlifyEdgeFunctions } from '@astrojs/netlify';
|
|
import react from "@astrojs/react";
|
|
|
|
// test env var
|
|
process.env.SECRET_STUFF = 'secret'
|
|
|
|
export default defineConfig({
|
|
adapter: netlifyEdgeFunctions({
|
|
dist: new URL('./dist/', import.meta.url),
|
|
}),
|
|
integrations: [react()],
|
|
output: 'server',
|
|
})
|