frontpage/astro.config.mjs
Daniel Kluge bd9c74d6f3
Some checks failed
Deploy Astro / Build and Deploy (push) Failing after 24m25s
More styling
2024-03-02 21:04:14 +01:00

27 lines
549 B
JavaScript

import { defineConfig } from "astro/config";
import mdx from "@astrojs/mdx";
import a11yEmoji from "@fec/remark-a11y-emoji";
import wasmPack from 'vite-plugin-wasm-pack';
// https://astro.build/config
export default defineConfig({
prefetch: {
prefetchAll: true
},
integrations: [mdx()],
markdown: {
remarkPlugins: [
a11yEmoji
],
shikiConfig: {
theme: "one-dark-pro"
}
},
// Copy wasm-terminal to the build directory
vite: {
plugins: [
wasmPack([],['@c0ntroller/wasm-terminal'])
]
}
});