2022-04-19 15:22:15 +00:00
|
|
|
import { defineConfig } from 'astro/config';
|
|
|
|
import { netlifyEdgeFunctions } from '@astrojs/netlify';
|
2022-04-21 16:10:06 +00:00
|
|
|
import react from "@astrojs/react";
|
2022-04-19 15:22:15 +00:00
|
|
|
|
2022-11-08 13:54:49 +00:00
|
|
|
// test env var
|
|
|
|
process.env.SECRET_STUFF = 'secret'
|
|
|
|
|
2022-04-19 15:22:15 +00:00
|
|
|
export default defineConfig({
|
|
|
|
adapter: netlifyEdgeFunctions({
|
|
|
|
dist: new URL('./dist/', import.meta.url),
|
|
|
|
}),
|
2022-04-21 16:10:06 +00:00
|
|
|
integrations: [react()],
|
2022-07-25 04:18:02 +00:00
|
|
|
output: 'server',
|
2022-04-19 15:22:15 +00:00
|
|
|
})
|