14 lines
313 B
TypeScript
14 lines
313 B
TypeScript
import {defineConfig} from 'vite';
|
|
import react from '@vitejs/plugin-react';
|
|
import {visualizer} from 'rollup-plugin-visualizer';
|
|
|
|
// https://vitejs.dev/config/
|
|
export default defineConfig({
|
|
plugins: [react(),
|
|
visualizer({
|
|
template: 'treemap',
|
|
gzipSize: true,
|
|
brotliSize: true
|
|
})]
|
|
});
|