mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-14 06:43:25 +08:00
12 lines
270 B
TypeScript
12 lines
270 B
TypeScript
import { defineConfig } from 'vite';
|
|
import { SearchPlugin } from 'vitepress-plugin-search';
|
|
|
|
export default defineConfig({
|
|
plugins: [SearchPlugin()],
|
|
resolve: {
|
|
alias: {
|
|
mermaid: 'https://unpkg.com/mermaid@9.1.7/dist/mermaid.esm.min.mjs',
|
|
},
|
|
},
|
|
});
|