v3.accords-library.com/astro.config.ts

37 lines
779 B
TypeScript
Raw Normal View History

2024-01-21 12:28:48 +00:00
import icon from "astro-icon";
import { defineConfig } from "astro/config";
import node from "@astrojs/node";
2024-01-21 13:42:52 +00:00
import astroMetaTags from "astro-meta-tags";
2024-01-21 12:28:48 +00:00
// https://astro.build/config
export default defineConfig({
output: "server",
srcDir: "./src",
publicDir: "./public",
outDir: "./dist",
adapter: node({
mode: "standalone",
}),
integrations: [
2024-01-21 13:42:52 +00:00
astroMetaTags(),
2024-01-21 12:28:48 +00:00
icon({
include: {
"material-symbols": ["*"], // Loads entire Material Design Icon set
},
}),
],
2024-01-28 15:34:47 +00:00
i18n: {
defaultLocale: "en",
locales: ["en", "es", "fr", "ja", "pt", "zh"],
routing: {
prefixDefaultLocale: true,
redirectToDefaultLocale: false,
strategy: "pathname",
},
},
2024-01-21 12:28:48 +00:00
server: {
port: 12499,
host: true,
},
});