Skip to content

Commit

Permalink
remove import from astro config
Browse files Browse the repository at this point in the history
  • Loading branch information
camillobucciarelli committed Sep 3, 2024
1 parent d5c15d4 commit f1b2740
Showing 1 changed file with 8 additions and 14 deletions.
22 changes: 8 additions & 14 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,15 @@ import tailwind from "@astrojs/tailwind";
import nodejs from "@astrojs/node";
import astroI18next from "astro-i18next";
import icon from "astro-icon";
import { defaultLanguage, supportedLanguages } from "~/constants/i18n.js";

// https://astro.build/config
export default defineConfig({
site: "https://devfest.gdgpescara.it",
integrations: [
icon({
include: {
mdi: ["*"], // (Default) Loads entire Material Design Icon set
},
}),
react(),
tailwind(),
astroI18next(),
],
integrations: [icon({
include: {
mdi: ["*"], // (Default) Loads entire Material Design Icon set
},
}),react(), tailwind(), astroI18next()],
output: "hybrid",
adapter: nodejs({
mode: "standalone",
Expand All @@ -27,10 +21,10 @@ export default defineConfig({
domains: ["via.placeholder.com"],
},
i18n: {
defaultLocale: defaultLanguage,
locales: supportedLanguages,
defaultLocale: "en",
locales: ["en", "it"],
fallback: {
it: defaultLanguage,
it: "en",
},
routingStrategy: "prefix-other-locales",
},
Expand Down

0 comments on commit f1b2740

Please sign in to comment.