Files
blitzkit/packages/website-ue/astro.config.ts
T

42 lines
1003 B
TypeScript
Raw Normal View History

2025-11-28 13:00:41 -06:00
import react from "@astrojs/react";
import strings from "@blitzkit/i18n/strings/en.json";
import { mauve, mauveDark } from "@radix-ui/colors";
import favicons from "astro-favicons";
import { defineConfig } from "astro/config";
import packageJSON from "../../package.json";
export default defineConfig({
devToolbar: { enabled: false },
2025-12-19 16:01:58 -06:00
vite: {
server: { allowedHosts: [] },
2025-12-19 22:23:03 -06:00
2025-12-19 16:01:58 -06:00
esbuild: {
2025-12-19 16:07:34 -06:00
minifyIdentifiers: true,
2025-12-19 16:14:36 -06:00
minifySyntax: false,
2025-12-19 16:09:27 -06:00
minifyWhitespace: true,
2025-12-19 16:01:58 -06:00
},
},
2026-05-18 16:21:23 -05:00
output: "static",
2025-11-28 13:00:41 -06:00
site: "https://blitzkit.app",
outDir: "../../dist/website",
prefetch: { defaultStrategy: "hover", prefetchAll: true },
2026-01-11 11:52:28 -06:00
build: { concurrency: 4 },
2026-05-18 16:21:23 -05:00
adapter: undefined,
2025-11-28 13:00:41 -06:00
integrations: [
favicons({
name: strings.common.name,
short_name: strings.common.name,
background: mauveDark.mauve1,
themes: [mauve.mauve1, mauveDark.mauve1],
appleStatusBarStyle: "black-translucent",
version: packageJSON.version,
}),
react(),
],
});