mirror of
https://github.com/revoltchat/revite.git
synced 2024-11-21 22:50:59 -05:00
fix(vite): remove "second" compression pass
This commit is contained in:
parent
67936f53ed
commit
f3c3017e0c
3 changed files with 1 additions and 16 deletions
|
@ -151,7 +151,6 @@
|
|||
"typescript": "^4.4.2",
|
||||
"ulid": "^2.3.0",
|
||||
"use-resize-observer": "^7.0.0",
|
||||
"vite-plugin-compression": "^0.3.6",
|
||||
"vite-plugin-pwa": "^0.8.1",
|
||||
"workbox-precaching": "^6.1.5"
|
||||
},
|
||||
|
|
|
@ -2,7 +2,6 @@ import replace from "@rollup/plugin-replace";
|
|||
import { readFileSync } from "fs";
|
||||
import { resolve } from "path";
|
||||
import { defineConfig } from "vite";
|
||||
import viteCompression from "vite-plugin-compression";
|
||||
import { VitePWA } from "vite-plugin-pwa";
|
||||
|
||||
import preact from "@preact/preset-vite";
|
||||
|
@ -43,10 +42,6 @@ function getVersion() {
|
|||
|
||||
export default defineConfig({
|
||||
plugins: [
|
||||
viteCompression({
|
||||
verbose: true,
|
||||
algorithm: "brotliCompress",
|
||||
}),
|
||||
preact(),
|
||||
VitePWA({
|
||||
srcDir: "src",
|
||||
|
|
11
yarn.lock
11
yarn.lock
|
@ -1887,7 +1887,7 @@ chalk@^2.0.0:
|
|||
escape-string-regexp "^1.0.5"
|
||||
supports-color "^5.3.0"
|
||||
|
||||
chalk@^4.0.0, chalk@^4.1.2:
|
||||
chalk@^4.0.0:
|
||||
version "4.1.2"
|
||||
resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.2.tgz#aac4e2b7734a740867aeb16bf02aad556a1e7a01"
|
||||
integrity sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==
|
||||
|
@ -4357,15 +4357,6 @@ value-equal@^1.0.1:
|
|||
resolved "https://registry.yarnpkg.com/value-equal/-/value-equal-1.0.1.tgz#1e0b794c734c5c0cade179c437d356d931a34d6c"
|
||||
integrity sha512-NOJ6JZCAWr0zlxZt+xqCHNTEKOsrks2HQd4MqhP1qy4z1SkbEP467eNx6TgDKXMvUOb+OENfJCZwM+16n7fRfw==
|
||||
|
||||
vite-plugin-compression@^0.3.6:
|
||||
version "0.3.6"
|
||||
resolved "https://registry.yarnpkg.com/vite-plugin-compression/-/vite-plugin-compression-0.3.6.tgz#85e3ce5047ae6747bc3952177177a852fac901be"
|
||||
integrity sha512-aSskQCJsP3VQ8PsnY+vO7UfD5qoFMOEuzg0PG2E9Zqyx+ARmc3wr9KCgOFraZOFW1Y4UAa5BR0SMTjoxHRMJoQ==
|
||||
dependencies:
|
||||
chalk "^4.1.2"
|
||||
debug "^4.3.2"
|
||||
fs-extra "^10.0.0"
|
||||
|
||||
vite-plugin-pwa@^0.8.1:
|
||||
version "0.8.2"
|
||||
resolved "https://registry.yarnpkg.com/vite-plugin-pwa/-/vite-plugin-pwa-0.8.2.tgz#2789a157e2f71faf834d968945efc22eee9ad64a"
|
||||
|
|
Loading…
Reference in a new issue