astro/packages/integrations/vercel/test/fixtures/image/astro.config.mjs
Erika 7ea32c7fbf
feat: pass our domains and remote config to the Vercel config (#8452)
* feat: pass our domains and remote config to Vercel'S

* chore: changeset

* test: update test to test for this

* docs: update README
2023-09-07 18:12:00 +02:00

15 lines
412 B
JavaScript

import vercel from '@astrojs/vercel/static';
import { defineConfig } from 'astro/config';
import { testImageService } from '../../../../../astro/test/test-image-service.js';
export default defineConfig({
adapter: vercel({imageService: true}),
image: {
service: testImageService(),
domains: ['astro.build'],
remotePatterns: [{
protocol: 'https',
hostname: '**.amazonaws.com',
}],
},
});