docs: small improvements

This commit is contained in:
Emerson Bottero
2022-10-17 19:32:47 -03:00
parent 0da56a1249
commit c8b377bf74
160 changed files with 1292 additions and 140 deletions

View File

@@ -1,5 +1,6 @@
import { defineConfig, searchForWorkspaceRoot } from 'vite';
import path from 'path';
// @ts-ignore: still in alpha
import { SearchPlugin } from 'vitepress-plugin-search';
const virtualModuleId = 'virtual:mermaid-config';
@@ -29,7 +30,7 @@ export default defineConfig({
],
resolve: {
alias: {
mermaid: path.join(__dirname, '../dist/mermaid.esm.min.mjs'), // Use this one to build
mermaid: path.join(__dirname, '../../dist/mermaid.esm.min.mjs'), // Use this one to build
},
},
server: {