* first stages of implementing alpinejs * add link to projects slideshow * begin adding nav bar * inpired hero from flaco theme * fix posts showcase fixed to publish current work to latest * revert docker action * update astro version
40 lines
930 B
TypeScript
40 lines
930 B
TypeScript
import { defineConfig, passthroughImageService } from "astro/config";
|
|
import sitemap from "@astrojs/sitemap";
|
|
import rehypeExternalLinks from "rehype-external-links";
|
|
import mdx from "@astrojs/mdx";
|
|
import tailwindcss from "@tailwindcss/vite";
|
|
import icon from "astro-icon";
|
|
import alpinejs from "@astrojs/alpinejs";
|
|
|
|
// https://astro.build/config
|
|
export default defineConfig({
|
|
site: "https://troylusty.com",
|
|
integrations: [sitemap(), mdx(), icon(), alpinejs()],
|
|
vite: {
|
|
plugins: [tailwindcss()],
|
|
},
|
|
output: "static",
|
|
markdown: {
|
|
rehypePlugins: [
|
|
[
|
|
rehypeExternalLinks,
|
|
{
|
|
target: "_blank",
|
|
},
|
|
],
|
|
],
|
|
shikiConfig: {
|
|
wrap: true,
|
|
themes: {
|
|
light: "github-light-default",
|
|
dark: "github-dark-default",
|
|
},
|
|
},
|
|
},
|
|
image: {
|
|
service: passthroughImageService(),
|
|
},
|
|
experimental: {
|
|
responsiveImages: true,
|
|
},
|
|
});
|