More progress but need to fully refactor into Astro action and take advantage of

all the boilerplate
This commit is contained in:
badblocks 2026-01-19 18:10:33 -08:00
parent f5eac7145c
commit 608348a5a5
No known key found for this signature in database
7 changed files with 411 additions and 142 deletions

View file

@ -4,14 +4,20 @@ import { defineConfig, envField } from "astro/config";
import alpinejs from "@astrojs/alpinejs";
import sitemap from "@astrojs/sitemap";
import bun from "@nurodev/astro-bun";
import node from "@astrojs/node";
import db from "@astrojs/db";
// https://astro.build/config
export default defineConfig({
site: "https://badblocks.dev",
trailingSlash: "never",
adapter: bun(),
output: "static",
// bun adapter is not official, so keep
// the node adapter available just in case
adapter: node({
mode: "standalone",
}),
// adapter: bun(),
// output: "static",
devToolbar: { enabled: false },
prefetch: {
prefetchAll: true,