otterscan/vite.config.ts

13 lines
307 B
TypeScript

import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
import viteCompression from "vite-plugin-compression";
// https://vitejs.dev/config/
export default defineConfig({
plugins: [
react(),
viteCompression(),
viteCompression({ algorithm: "brotliCompress" }),
],
});