build site with bun (#32)

This commit is contained in:
Troy 2025-01-18 21:50:40 +00:00 committed by GitHub
parent 3a886c4493
commit bf087a566f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 100 additions and 9447 deletions

View file

@ -4,11 +4,29 @@ import rehypeExternalLinks from "rehype-external-links";
import mdx from "@astrojs/mdx";
import tailwind from "@astrojs/tailwind";
import icon from "astro-icon";
import expressiveCode from "astro-expressive-code";
// https://astro.build/config
export default defineConfig({
site: "https://troylusty.com",
integrations: [sitemap(), mdx(), tailwind(), icon()],
integrations: [
sitemap(),
expressiveCode({
themes: ["github-dark-default", "github-light-default"],
defaultProps: {
frame: "none",
wrap: true,
},
styleOverrides: {
frames: {
shadowColor: "none",
},
},
}),
mdx(),
tailwind(),
icon(),
],
output: "static",
markdown: {
rehypePlugins: [
@ -19,10 +37,6 @@ export default defineConfig({
},
],
],
shikiConfig: {
wrap: true,
},
syntaxHighlight: false,
},
image: {
service: passthroughImageService(),