Daniel Kluge
bd9c74d6f3
Some checks failed
Deploy Astro / Build and Deploy (push) Failing after 24m25s
27 lines
549 B
JavaScript
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'])
|
|
]
|
|
}
|
|
}); |