2023-05-06 23:39:23 +08:00
|
|
|
import {defineConfig} from 'vite';
|
|
|
|
import react from '@vitejs/plugin-react';
|
|
|
|
import {visualizer} from 'rollup-plugin-visualizer';
|
2023-05-03 23:38:54 +08:00
|
|
|
|
|
|
|
// https://vitejs.dev/config/
|
|
|
|
export default defineConfig({
|
2023-05-06 23:39:23 +08:00
|
|
|
plugins: [react(),
|
|
|
|
visualizer({
|
|
|
|
template: 'treemap',
|
|
|
|
gzipSize: true,
|
|
|
|
brotliSize: true
|
|
|
|
})]
|
|
|
|
});
|