Added markdown and mermaid preview

This commit is contained in:
2025-11-16 02:37:30 +08:00
parent 1d7aee4cea
commit 031aa49f9f
30 changed files with 5056 additions and 469 deletions

View File

@@ -7,6 +7,10 @@ import {nodePolyfills} from 'vite-plugin-node-polyfills';
export default defineConfig(({mode}: { mode: string }): object => {
const env: Record<string, string> = loadEnv(mode, process.cwd());
return {
test: {
environment: 'happy-dom',
globals: true,
},
publicDir: './public',
base: './',
resolve: {