Newer
Older

Yassine Doghri
committed
import { defineConfig } from "astro/config";
import tailwind from "@astrojs/tailwind";
import sitemap from "@astrojs/sitemap";
import astroI18next from "astro-i18next";
import icon from "astro-icon";
// https://astro.build/config
export default defineConfig({

Yassine Doghri
committed
site: "https://castopod.org/",
icon({
include: {
ri: ["*"], // Loads entire Remix Icon set
},
svgoOptions: {
multipass: true,
plugins: [
"preset-default",
"removeXMLNS",
"removeDimensions",
{
name: "addAttributesToSVGElement",
params: {
attributes: [
{ fill: "currentColor" },
{ width: "1em" },
{ height: "1em" },
],
},
},
],
},
}),
sitemap({
i18n: {
defaultLocale: "en",
locales: {
en: "en", // The `defaultLocale` value must present in `locales` keys
fr: "fr",
},