Enable brotli compression

This commit is contained in:
Willian Mitsuda 2022-08-05 05:52:18 -03:00
parent eb9b5f0607
commit 623744f0ad
1 changed files with 5 additions and 1 deletions

View File

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