Merge pull request #4071 from mermaid-js/renovate/vite-4.x

chore(deps): update dependency vite to v4
This commit is contained in:
Sidharth Vinod
2023-02-16 17:50:08 +05:30
committed by GitHub
4 changed files with 14 additions and 48 deletions

View File

@@ -1,6 +1,5 @@
import { defineConfig, searchForWorkspaceRoot } from 'vite';
import { defineConfig, type PluginOption, searchForWorkspaceRoot } from 'vite';
import path from 'path';
// @ts-ignore: still in alpha
import { SearchPlugin } from 'vitepress-plugin-search';
const virtualModuleId = 'virtual:mermaid-config';
@@ -8,7 +7,7 @@ const resolvedVirtualModuleId = '\0' + virtualModuleId;
export default defineConfig({
plugins: [
SearchPlugin(),
SearchPlugin() as PluginOption,
{
// TODO: will be fixed in the next vitepress release.
name: 'fix-virtual',