frontpage/astro.config.mjs
Daniel Kluge 4e1c63ade5
All checks were successful
Deploy Astro / Build and Deploy (push) Successful in 57s
Add first Terminal draft
2024-01-06 13:59:05 +01:00

24 lines
508 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({
integrations: [mdx()],
markdown: {
remarkPlugins: [
a11yEmoji
],
shikiConfig: {
theme: "one-dark-pro"
}
},
// Copy wasm-terminal to the build directory
vite: {
plugins: [
wasmPack([],['@c0ntroller/wasm-terminal'])
]
}
});