Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion astro.config.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import { defineConfig, squooshImageService } from "astro/config";

import shikiji, { type RehypeShikijiOptions } from "rehype-shikiji";
import { transformerTwoslash } from "shikiji-twoslash";
import * as transformers from "shikiji-transformers";
Expand All @@ -7,7 +9,6 @@ import rehypeSlug from "rehype-slug";
import rehypeRaw from "rehype-raw";
import { rehypeGithubAlerts, type IOptions } from "rehype-github-alerts";
import headings from "rehype-autolink-headings";
import { defineConfig } from "astro/config";
import vercel from "@astrojs/vercel/serverless";
import mdx from "@astrojs/mdx";
import solidJs from "@astrojs/solid-js";
Expand All @@ -26,6 +27,12 @@ export default defineConfig({
enabled: true,
},
}),
devToolbar: {
enabled: false,
},
image: {
service: squooshImageService(),
},
markdown: {
syntaxHighlight: false,
},
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@
"pagefind": "^1.1.0",
"pg": "^8.11.4",
"postgres": "^3.4.4",
"sharp": "^0.33.3",
"solid-js": "^1.8.12",
"typescript": "^5.3.3"
},
"devDependencies": {
"@astrojs/vercel": "^7.0.2",
"@auth/drizzle-adapter": "^0.8.1",
"@google/generative-ai": "^0.2.1",
"@mdx-js/mdx": "^3.0.0",
"@neoconfetti/solid": "^0.1.0",
"@primer/octicons": "^19.8.0",
Expand Down
Loading