2025-09-27 15:51:46 -05:00
|
|
|
import react from "@astrojs/react";
|
2025-09-27 15:38:37 -05:00
|
|
|
import strings from "@blitzkit/i18n/strings/en.json";
|
|
|
|
|
import favicons from "astro-favicons";
|
|
|
|
|
import { defineConfig } from "astro/config";
|
|
|
|
|
|
|
|
|
|
export default defineConfig({
|
|
|
|
|
devToolbar: { enabled: false },
|
|
|
|
|
|
2026-08-01 14:32:25 -05:00
|
|
|
vite: {
|
|
|
|
|
server: { allowedHosts: [] },
|
|
|
|
|
esbuild: { target: "es2022" },
|
|
|
|
|
},
|
|
|
|
|
|
2026-08-05 13:22:33 -05:00
|
|
|
output: "static",
|
2025-09-27 18:32:18 -05:00
|
|
|
site: "https://blitzkit.app",
|
|
|
|
|
outDir: "../../dist/website",
|
2025-09-29 13:30:10 -05:00
|
|
|
prefetch: { defaultStrategy: "hover", prefetchAll: true },
|
2025-09-27 18:37:51 -05:00
|
|
|
|
|
|
|
|
build: { concurrency: 4 },
|
2025-09-27 17:05:06 -05:00
|
|
|
|
2025-09-27 15:38:37 -05:00
|
|
|
integrations: [
|
|
|
|
|
favicons({
|
|
|
|
|
name: strings.common.name,
|
|
|
|
|
short_name: strings.common.name,
|
|
|
|
|
|
|
|
|
|
icons: {
|
|
|
|
|
windows: true,
|
|
|
|
|
android: true,
|
|
|
|
|
appleIcon: true,
|
|
|
|
|
appleStartup: true,
|
|
|
|
|
favicons: true,
|
|
|
|
|
yandex: true,
|
|
|
|
|
},
|
|
|
|
|
}),
|
|
|
|
|
|
|
|
|
|
react(),
|
|
|
|
|
],
|
|
|
|
|
});
|