34 lines
754 B
JavaScript
34 lines
754 B
JavaScript
// @ts-check
|
|
import { defineConfig, passthroughImageService, fontProviders } from "astro/config";
|
|
|
|
import partytown from "@astrojs/partytown";
|
|
import sitemap from "@astrojs/sitemap";
|
|
import robotsTxt from "astro-robots-txt";
|
|
|
|
// https://astro.build/config
|
|
export default defineConfig({
|
|
integrations: [
|
|
sitemap(),
|
|
robotsTxt(),
|
|
partytown({
|
|
config: {
|
|
forward: ["$plausible", "$plausible.push"],
|
|
},
|
|
}),
|
|
],
|
|
i18n: {
|
|
locales: ["en", "de"],
|
|
defaultLocale: "en",
|
|
},
|
|
image: {
|
|
service: passthroughImageService(),
|
|
},
|
|
fonts: [{
|
|
name: 'Poppins',
|
|
cssVariable: '--font-poppins',
|
|
provider: fontProviders.fontsource(),
|
|
weights: [400, 600, 700]
|
|
}],
|
|
site: "https://tideshiftdigital.com",
|
|
});
|