37 lines
779 B
TypeScript
37 lines
779 B
TypeScript
import icon from "astro-icon";
|
|
import { defineConfig } from "astro/config";
|
|
import node from "@astrojs/node";
|
|
import astroMetaTags from "astro-meta-tags";
|
|
|
|
// https://astro.build/config
|
|
export default defineConfig({
|
|
output: "server",
|
|
srcDir: "./src",
|
|
publicDir: "./public",
|
|
outDir: "./dist",
|
|
adapter: node({
|
|
mode: "standalone",
|
|
}),
|
|
integrations: [
|
|
astroMetaTags(),
|
|
icon({
|
|
include: {
|
|
"material-symbols": ["*"], // Loads entire Material Design Icon set
|
|
},
|
|
}),
|
|
],
|
|
i18n: {
|
|
defaultLocale: "en",
|
|
locales: ["en", "es", "fr", "ja", "pt", "zh"],
|
|
routing: {
|
|
prefixDefaultLocale: true,
|
|
redirectToDefaultLocale: false,
|
|
strategy: "pathname",
|
|
},
|
|
},
|
|
server: {
|
|
port: 12499,
|
|
host: true,
|
|
},
|
|
});
|