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