Enable brotli compression

This commit is contained in:
Willian Mitsuda 2022-08-05 05:52:18 -03:00
parent eb9b5f0607
commit 623744f0ad

View File

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