mirror of
				https://github.com/mermaid-js/mermaid.git
				synced 2025-11-04 04:44:08 +01:00 
			
		
		
		
	Merge pull request #4071 from mermaid-js/renovate/vite-4.x
chore(deps): update dependency vite to v4
This commit is contained in:
		@@ -20,13 +20,14 @@ const visualizerOptions = (packageName: string, core = false): PluginOption[] =>
 | 
			
		||||
  if (packageName !== 'mermaid' || !visualize) {
 | 
			
		||||
    return [];
 | 
			
		||||
  }
 | 
			
		||||
  return ['network', 'treemap', 'sunburst'].map((chartType) =>
 | 
			
		||||
    visualizer({
 | 
			
		||||
      filename: `./stats/${chartType}${core ? '.core' : ''}.html`,
 | 
			
		||||
      template: chartType as TemplateType,
 | 
			
		||||
      gzipSize: true,
 | 
			
		||||
      brotliSize: true,
 | 
			
		||||
    })
 | 
			
		||||
  return ['network', 'treemap', 'sunburst'].map(
 | 
			
		||||
    (chartType) =>
 | 
			
		||||
      visualizer({
 | 
			
		||||
        filename: `./stats/${chartType}${core ? '.core' : ''}.html`,
 | 
			
		||||
        template: chartType as TemplateType,
 | 
			
		||||
        gzipSize: true,
 | 
			
		||||
        brotliSize: true,
 | 
			
		||||
      }) as PluginOption
 | 
			
		||||
  );
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user