astro/packages/integrations/netlify/test/edge-functions/fixtures/edge-basic/astro.config.mjs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
291 B
JavaScript
Raw Permalink Normal View History

import { defineConfig } from 'astro/config';
import { netlifyEdgeFunctions } from '@astrojs/netlify';
// test env var
process.env.SECRET_STUFF = 'secret'
export default defineConfig({
adapter: netlifyEdgeFunctions({
dist: new URL('./dist/', import.meta.url),
}),
output: 'server',
})