Dieser Commit ist enthalten in:
Ursprung
4ed5ed3e35
Commit
af870a70bc
@ -11,21 +11,36 @@ import mdx from "@astrojs/mdx";
|
|||||||
|
|
||||||
// https://astro.build/config
|
// https://astro.build/config
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
output: "static", image: {
|
output: "static",
|
||||||
|
image: {
|
||||||
service: sharpImageService(),
|
service: sharpImageService(),
|
||||||
}, compressHTML: true, site: "https://steamwar.de", integrations: [svelte(), tailwind({
|
},
|
||||||
configFile: "./tailwind.config.cjs",
|
compressHTML: true,
|
||||||
}), configureI18n(), sitemap({
|
site: "https://steamwar.de",
|
||||||
i18n: {
|
integrations: [
|
||||||
defaultLocale: "en", locales: {
|
svelte(),
|
||||||
en: "en-US", de: "de-DE",
|
tailwind({
|
||||||
|
configFile: "./tailwind.config.cjs",
|
||||||
|
}),
|
||||||
|
configureI18n(),
|
||||||
|
sitemap({
|
||||||
|
i18n: {
|
||||||
|
defaultLocale: "en", locales: {
|
||||||
|
en: "en-US", de: "de-DE",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
}),
|
||||||
}), robotsTxt({
|
robotsTxt({
|
||||||
policy: [{
|
policy: [{
|
||||||
userAgent: "*", disallow: ["/admin", "/login", "/dashboard", "/de", "/_astro"],
|
userAgent: "*", disallow: ["/admin", "/login", "/dashboard", "/de", "/_astro"],
|
||||||
}],
|
}],
|
||||||
}), mdx()], vite: {
|
}),
|
||||||
|
mdx()
|
||||||
|
],
|
||||||
|
experimental: {
|
||||||
|
contentCollectionCache: true,
|
||||||
|
},
|
||||||
|
vite: {
|
||||||
resolve: {
|
resolve: {
|
||||||
alias: {
|
alias: {
|
||||||
"@components": path.resolve("./src/components"),
|
"@components": path.resolve("./src/components"),
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren