1import marko from "@marko/run/vite";
2import markodown from "../../lib/rollup.ts";
3import { defineConfig } from "vite";
4
5export default defineConfig({
6 plugins: [
7 marko(),
8 markodown({
9 // probably don't need this when markodown is properly installed and not
10 // imported from a `../../` reference.
11 marko: await import("@marko/compiler"),
12
13 layoutImport: "../tags/markdown-layout.marko",
14 }),
15 ],
16});