init
This commit is contained in:
commit
017bf6e067
115 changed files with 19650 additions and 0 deletions
38
astro.config.mjs
Normal file
38
astro.config.mjs
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
import mdx from "@astrojs/mdx";
|
||||
import node from "@astrojs/node";
|
||||
import sitemap from "@astrojs/sitemap";
|
||||
import { defineConfig } from "astro/config";
|
||||
import EmbedPlugin from "astro-embed/integration";
|
||||
import rehypeExternalLinks from "rehype-external-links";
|
||||
import { remarkObsidianLinks } from "./src/lib/remark-obsidian-links.mjs";
|
||||
|
||||
export default defineConfig({
|
||||
site: "https://adrian-altner.com",
|
||||
|
||||
devToolbar: {
|
||||
enabled: false,
|
||||
},
|
||||
|
||||
markdown: {
|
||||
remarkPlugins: [remarkObsidianLinks],
|
||||
rehypePlugins: [
|
||||
[
|
||||
rehypeExternalLinks,
|
||||
{ target: "_blank", rel: ["noopener", "noreferrer"] },
|
||||
],
|
||||
],
|
||||
},
|
||||
|
||||
integrations: [sitemap(), EmbedPlugin(), mdx()],
|
||||
prefetch: true,
|
||||
|
||||
vite: {
|
||||
ssr: {
|
||||
noExternal: ["smartypants"],
|
||||
},
|
||||
},
|
||||
|
||||
adapter: node({
|
||||
mode: "standalone",
|
||||
}),
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue