2024-01-06 13:59:05 +01:00
|
|
|
import { defineConfig } from "astro/config";
|
2023-12-11 23:41:48 +01:00
|
|
|
|
|
|
|
import mdx from "@astrojs/mdx";
|
|
|
|
import a11yEmoji from "@fec/remark-a11y-emoji";
|
2024-01-06 13:59:05 +01:00
|
|
|
import wasmPack from 'vite-plugin-wasm-pack';
|
2023-12-11 23:41:48 +01:00
|
|
|
|
|
|
|
// https://astro.build/config
|
|
|
|
export default defineConfig({
|
|
|
|
integrations: [mdx()],
|
|
|
|
markdown: {
|
|
|
|
remarkPlugins: [
|
|
|
|
a11yEmoji
|
|
|
|
],
|
|
|
|
shikiConfig: {
|
|
|
|
theme: "one-dark-pro"
|
|
|
|
}
|
2024-01-06 13:59:05 +01:00
|
|
|
},
|
|
|
|
// Copy wasm-terminal to the build directory
|
|
|
|
vite: {
|
|
|
|
plugins: [
|
|
|
|
wasmPack([],['@c0ntroller/wasm-terminal'])
|
|
|
|
]
|
2023-12-11 23:41:48 +01:00
|
|
|
}
|
|
|
|
});
|