Enable brotli compression
This commit is contained in:
parent
eb9b5f0607
commit
623744f0ad
|
@ -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" }),
|
||||||
|
],
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue