frontpage/astro.config.mjs
Daniel Kluge dafbda9509
All checks were successful
Deploy Astro / Build and Deploy (push) Successful in 24m55s
Upgrade astro-icons
2024-03-03 15:18:06 +01:00

23 lines
564 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';
import icon from "astro-icon";
// https://astro.build/config
export default defineConfig({
prefetch: {
prefetchAll: true
},
integrations: [mdx(), icon()],
markdown: {
remarkPlugins: [a11yEmoji],
shikiConfig: {
theme: "one-dark-pro"
}
},
// Copy wasm-terminal to the build directory
vite: {
plugins: [wasmPack([], ['@c0ntroller/wasm-terminal'])]
}
});