update matrix

This commit is contained in:
tresabhi committed 2026-08-05 13:22:33 -05:00
1 parent 84290b1c0e
commit b52919ebfe
4 files changed
+28 -22

No files matched your search

+1 -11
View File
@@ -1,4 +1,3 @@
import node from "@astrojs/node";
import react from "@astrojs/react";
import { wrapper } from "@blitzkit/i18n";
import locales from "@blitzkit/i18n/locales.json";
@@ -10,14 +9,6 @@ import { defineConfig } from "astro/config";
import packageJSON from "../../package.json";
import { tools } from "./src/constants/tools";
const POSSIBLE_TARGETS = ["app", "web"];
const target = process.env.PUBLIC_TARGET;
if (!target || !POSSIBLE_TARGETS.includes(target)) {
throw new Error("Invalid target");
}
export default defineConfig({
devToolbar: { enabled: false },
@@ -26,13 +17,12 @@ export default defineConfig({
esbuild: { target: "es2022" },
},
output: target === "web" ? "static" : "server",
output: "static",
site: "https://blitzkit.app",
outDir: "../../dist/website",
prefetch: { defaultStrategy: "hover", prefetchAll: true },
build: { concurrency: 4 },
adapter: target === "app" ? node({ mode: "standalone" }) : undefined,
integrations: [
favicons({
+4 -4
View File
@@ -2,10 +2,10 @@
"name": "@blitzkit/website",
"type": "module",
"scripts": {
"dev": "PUBLIC_TARGET=web astro dev",
"build": "PUBLIC_TARGET=web astro build",
"preview": "PUBLIC_TARGET=web astro preview",
"lint": "PUBLIC_TARGET=web astro check",
"dev": "astro dev",
"build": "astro build",
"preview": "astro preview",
"lint": "astro check",
"astro": "astro"
},
"dependencies": {