astro/packages/integrations/cloudflare/test/fixtures/basics/astro.config.mjs
Bjorn Lu a79a37cad5
Support environment variables in Cloudflare and Netlify Edge functions (#5301)
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2022-11-08 21:54:49 +08:00

10 lines
222 B
JavaScript

import { defineConfig } from 'astro/config';
import cloudflare from '@astrojs/cloudflare';
// test env var
process.env.SECRET_STUFF = 'secret'
export default defineConfig({
adapter: cloudflare(),
output: 'server',
});