We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d191efb commit f193b18Copy full SHA for f193b18
vite.config.ts
@@ -1,5 +1,5 @@
1
/* eslint-disable */
2
-import { defineConfig } from 'vite';
+import { defineConfig, type PluginOption } from 'vite';
3
import svgrPlugin from 'vite-plugin-svgr';
4
import react from '@vitejs/plugin-react';
5
import ViteVisualizer from 'rollup-plugin-visualizer';
@@ -78,9 +78,9 @@ export default defineConfig({
78
},
79
}),
80
// last one is the visualizer
81
- // ViteVisualizer({
82
- // filename: './build/report-rollup-plugin-visualizer.html',
83
- // brotliSize: true,
84
- // }),
+ ViteVisualizer({
+ filename: './build/report-rollup-plugin-visualizer.html',
+ brotliSize: true,
+ }) as PluginOption,
85
],
86
});
0 commit comments