More progress but need to fully refactor into Astro action and take advantage of
all the boilerplate
This commit is contained in:
parent
f5eac7145c
commit
608348a5a5
7 changed files with 411 additions and 142 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue