-
Notifications
You must be signed in to change notification settings - Fork 1
/
astro.config.mjs
37 lines (36 loc) · 1.15 KB
/
astro.config.mjs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
// Full Astro Configuration API Documentation:
// https://docs.astro.build/reference/configuration-reference
// @type-check enabled!
// VSCode and other TypeScript-enabled text editors will provide auto-completion,
// helpful tooltips, and warnings if your exported object is invalid.
// You can disable this by removing "@ts-check" and `@type` comments below.
// @ts-check
// https://astro.build/config
import { defineConfig } from 'astro/config'
import solid from '@astrojs/solid-js'
import sitemap from '@astrojs/sitemap'
import image from '@astrojs/image'
import mdx from '@astrojs/mdx'
import preact from '@astrojs/preact'
// https://astro.build/config
export default defineConfig(
/** @type {import('astro').AstroUserConfig} */
{
// Enable the Solid renderer to support Solid JSX components.
site: 'https://payflink.com',
trailingSlash: 'always',
integrations: [
solid(),
sitemap({
filter: (page) =>
page !== 'https://payflink.com/de/avv/' &&
page !== 'https://payflink.com/tracking/',
}),
image({
serviceEntryPoint: '@astrojs/image/sharp',
}),
mdx(),
preact(),
],
}
)